#2B420F#2B420F
#2B420F is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.8% C 0.081 H 130.6°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2B420F |
|---|---|
| RGB | rgb(43, 66, 15) |
| HSL | hsl(87, 63%, 16%) |
| HSV | hsv(87, 77%, 26%) |
| CMYK | cmyk(34.8%, 0%, 77.3%, 74.1%) |
| CIE-LAB | lab(25.09, -18.56, 26.96) |
| CIE-LCH | lch(25.09, 32.73, 124.54°) |
| OKLab | oklab(34.79% -0.0525 0.0612) |
| OKLCH | oklch(34.79% 0.081 130.6) |
| XYZ | xyz(3.0307, 4.4444, 1.1500) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Forrest Green
#154406
ΔE00 4.70
Hunter Green (survey)
#0B4008
ΔE00 5.58
Dark Olive
#373E02
ΔE00 5.91
Dark Olive Green
#3C4D03
ΔE00 6.07
Navy Green
#35530A
ΔE00 6.24
Forest Green (survey)
#06470C
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B420F #260F42
analogous
#423F0F #2B420F #11420F
triadic
#2B420F #0F2B42 #420F2B
tetradic
#2B420F #0F423F #260F42 #420F11
square
#2B420F #0F423F #260F42 #420F11
split-complementary
#2B420F #0F1142 #3F0F42
monochromatic
#101906 #101906 #2B420F #4B741A #6CA626
Accessibility & contrast
On white
11.12
#2B420F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2B420F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B420F
11.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B420F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B420F | 1.00 | 11.12 | 1.89 | 11.12 |
| #FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453D08
Deuteranopia (green-blind)
#423B13
Tritanopia (blue-blind)
#2C3F38
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2b420f; /* rgb */ color: rgb(43, 66, 15); /* oklch */ color: oklch(34.8% 0.081 130.6);
Tailwind
colors: {
custom: {
50: '#677651',
500: '#2b420f',
950: '#000000',
},
}SCSS
$custom: #2b420f; $custom-light: #677651; $custom-dark: #000000;
JSON
{
"hex": "#2b420f",
"rgb": {
"r": 43,
"g": 66,
"b": 15
},
"hsl": {
"h": 87.059,
"s": 62.963,
"l": 15.882
},
"oklch": {
"l": 0.34794,
"c": 0.08058,
"h": 130.6
},
"luminance": 0.04445
}Semantic roles & 50–950 ramp
primary
#2B420F
secondary
#53307C
accent
#42E68C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78