#272A0B

#272a0b ≈ Rifle Green

  • yellow-green
  • Lightness: very low
  • Saturation: muted
  • Warm

#272a0b is a color from the yellow-green family, with very low lightness and muted saturation. In the RGB model it is made of 15.29% red, 16.47% green and 4.31% blue; printed in CMYK it uses 7.14% cyan, 0% magenta, 73.81% yellow and 83.53% black. Its hue angle is 65.81°, with 58.49% saturation and 10.39% lightness in HSL. It is a warm color, often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and luxury branding. White text on this color reaches a contrast ratio of 14.76:1 (WCAG AAA). The closest named color is Rifle Green (#444c38), ΔE 11.93.

Description generated from the measured properties of this color.

Conversions of #272a0b into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#333300
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0211

Readable text 14.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #282828 ≈ 0.003% of males
Achromatomaly #28291f ≈ 0.001% of males
Protanopia #2d2808 ≈ 1.01% of males
Deuteranopia #2d280d ≈ 1.27% of males
Tritanopia #2a2723 ≈ 0.0001% of males
Protanomaly #2b2909 ≈ 1.08% of males
Deuteranomaly #2b290c ≈ 4.63% of males
Tritanomaly #29281c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-272a0b {
  color: #272a0b;
}
Background
.bg-272a0b {
  background-color: #272a0b;
  color: #ffffff;
}
Border
.border-272a0b {
  border: 2px solid #272a0b;
}
CSS variables
:root {
  --color-primary: #272a0b;
  --color-primary-rgb: 39 42 11;
  --color-primary-hsl: 66 58% 10%;
}
Gradient
.gradient-272a0b {
  background: linear-gradient(135deg, #272a0b, #172a0b);
}
Colored shadow
.shadow-272a0b {
  box-shadow: 0 8px 24px rgb(39 42 11 / 0.35);
}

Rifle Green
#272a0b  rgb(39, 42, 11)  hsl(66, 58%, 10%)  Rifle Green
#0e0b2a  rgb(14, 11, 42)  hsl(246, 58%, 10%)  Oxford Blue
#0b272a  rgb(11, 39, 42)  hsl(186, 58%, 10%)  Gunmetal
#2a0b27  rgb(42, 11, 39)  hsl(306, 58%, 10%)  Tyrian Purple