#2F560B#2F560B
#2F560B is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.9% C 0.110 H 134.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2F560B |
|---|---|
| RGB | rgb(47, 86, 11) |
| HSL | hsl(91, 77%, 19%) |
| HSV | hsv(91, 87%, 34%) |
| CMYK | cmyk(45.3%, 0%, 87.2%, 66.3%) |
| CIE-LAB | lab(32.44, -27.12, 35.77) |
| CIE-LCH | lch(32.44, 44.89, 127.17°) |
| OKLab | oklab(40.86% -0.0763 0.0788) |
| OKLCH | oklch(40.86% 0.11 134.1) |
| XYZ | xyz(4.5604, 7.2838, 1.4822) |
| Luminance | 0.0728 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 1.96
Forest
#0B5509
ΔE00 4.62
Forest Green
#2D5A27
ΔE00 5.24
Deep Green
#02590F
ΔE00 5.46
Dark Olive Green
#3C4D03
ΔE00 5.70
Army Green
#4B5D16
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F560B #320B56
analogous
#55560B #2F560B #0B560D
triadic
#2F560B #0B2F56 #560B2F
tetradic
#2F560B #0B5556 #320B56 #560D0B
square
#2F560B #0B5556 #320B56 #560D0B
split-complementary
#2F560B #0D0B56 #560B55
monochromatic
#0F1B03 #112004 #2F560B #4D8C12 #6AC319
Accessibility & contrast
On white
8.55
#2F560B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2F560B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F560B
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F560B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F560B | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A4E00
Deuteranopia (green-blind)
#554B14
Tritanopia (blue-blind)
#2F5248
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f560b; /* rgb */ color: rgb(47, 86, 11); /* oklch */ color: oklch(40.9% 0.110 134.1);
Tailwind
colors: {
custom: {
50: '#6c8652',
500: '#2f560b',
950: '#000000',
},
}SCSS
$custom: #2f560b; $custom-light: #6c8652; $custom-dark: #000000;
JSON
{
"hex": "#2f560b",
"rgb": {
"r": 47,
"g": 86,
"b": 11
},
"hsl": {
"h": 91.2,
"s": 77.32,
"l": 19.02
},
"oklch": {
"l": 0.40858,
"c": 0.10969,
"h": 134.1
},
"luminance": 0.07284
}Semantic roles & 50–950 ramp
primary
#2F560B
secondary
#602B91
accent
#34F498
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#070B02
muted
#7A7C78