#2F540F#2F540F
#2F540F is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.3% C 0.105 H 134.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2F540F |
|---|---|
| RGB | rgb(47, 84, 15) |
| HSL | hsl(92, 70%, 19%) |
| HSV | hsv(92, 82%, 33%) |
| CMYK | cmyk(44%, 0%, 82.1%, 67.1%) |
| CIE-LAB | lab(31.76, -25.94, 33.71) |
| CIE-LCH | lch(31.76, 42.53, 127.58°) |
| OKLab | oklab(40.3% -0.0728 0.0752) |
| OKLCH | oklch(40.3% 0.105 134.1) |
| XYZ | xyz(4.4288, 6.9792, 1.5656) |
| Luminance | 0.0698 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 1.84
Forest
#0B5509
ΔE00 4.67
Forest Green
#2D5A27
ΔE00 4.83
Dark Olive Green
#3C4D03
ΔE00 5.47
Deep Green
#02590F
ΔE00 5.60
Bottle Green
#044A05
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F540F #340F54
analogous
#52540F #2F540F #0F5412
triadic
#2F540F #0F2F54 #540F2F
tetradic
#2F540F #0F5254 #340F54 #54120F
square
#2F540F #0F5254 #340F54 #54120F
split-complementary
#2F540F #120F54 #540F52
monochromatic
#0F1A05 #122006 #2F540F #4C8818 #69BC22
Accessibility & contrast
On white
8.77
#2F540F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2F540F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F540F
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F540F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F540F | 1.00 | 8.77 | 2.40 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584D02
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#2F5047
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f540f; /* rgb */ color: rgb(47, 84, 15); /* oklch */ color: oklch(40.3% 0.105 134.1);
Tailwind
colors: {
custom: {
50: '#6b8453',
500: '#2f540f',
950: '#000000',
},
}SCSS
$custom: #2f540f; $custom-light: #6b8453; $custom-dark: #000000;
JSON
{
"hex": "#2f540f",
"rgb": {
"r": 47,
"g": 84,
"b": 15
},
"hsl": {
"h": 92.174,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.40304,
"c": 0.10466,
"h": 134.1
},
"luminance": 0.06979
}Semantic roles & 50–950 ramp
primary
#2F540F
secondary
#63318E
accent
#3BED9A
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78