#2F510F#2F510F
#2F510F is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.4% C 0.100 H 133.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2F510F |
|---|---|
| RGB | rgb(47, 81, 15) |
| HSL | hsl(91, 69%, 19%) |
| HSV | hsv(91, 81%, 32%) |
| CMYK | cmyk(42%, 0%, 81.5%, 68.2%) |
| CIE-LAB | lab(30.70, -24.50, 32.68) |
| CIE-LCH | lch(30.70, 40.84, 126.86°) |
| OKLab | oklab(39.43% -0.0689 0.073) |
| OKLCH | oklch(39.43% 0.1 133.3) |
| XYZ | xyz(4.2009, 6.5235, 1.4897) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 1.82
Dark Olive Green
#3C4D03
ΔE00 4.95
Forest
#0B5509
ΔE00 5.17
Forest Green
#2D5A27
ΔE00 5.17
Forrest Green
#154406
ΔE00 5.26
Bottle Green
#044A05
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F510F #310F51
analogous
#50510F #2F510F #0F5110
triadic
#2F510F #0F2F51 #510F2F
tetradic
#2F510F #0F5051 #310F51 #51100F
square
#2F510F #0F5051 #310F51 #51100F
split-complementary
#2F510F #100F51 #510F50
monochromatic
#0F1A05 #111D05 #2F510F #4D8519 #6BB822
Accessibility & contrast
On white
9.11
#2F510F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2F510F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F510F
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F510F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F510F | 1.00 | 9.11 | 2.30 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554A03
Deuteranopia (green-blind)
#504716
Tritanopia (blue-blind)
#2F4D44
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f510f; /* rgb */ color: rgb(47, 81, 15); /* oklch */ color: oklch(39.4% 0.100 133.3);
Tailwind
colors: {
custom: {
50: '#6b8253',
500: '#2f510f',
950: '#000000',
},
}SCSS
$custom: #2f510f; $custom-light: #6b8253; $custom-dark: #000000;
JSON
{
"hex": "#2f510f",
"rgb": {
"r": 47,
"g": 81,
"b": 15
},
"hsl": {
"h": 90.909,
"s": 68.75,
"l": 18.824
},
"oklch": {
"l": 0.39434,
"c": 0.1004,
"h": 133.3
},
"luminance": 0.06524
}Semantic roles & 50–950 ramp
primary
#2F510F
secondary
#5F318B
accent
#3CEC97
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A03
muted
#7A7C78