#3A510E#3A510E
#3A510E is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.2% C 0.095 H 127.2°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #3A510E |
|---|---|
| RGB | rgb(58, 81, 14) |
| HSL | hsl(81, 71%, 19%) |
| HSV | hsv(81, 83%, 32%) |
| CMYK | cmyk(28.4%, 0%, 82.7%, 68.2%) |
| CIE-LAB | lab(31.38, -19.86, 33.97) |
| CIE-LCH | lch(31.38, 39.35, 120.31°) |
| OKLab | oklab(40.18% -0.0572 0.0753) |
| OKLCH | oklch(40.18% 0.095 127.2) |
| XYZ | xyz(4.7666, 6.8160, 1.4799) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 1.69
Dark Olive Green
#3C4D03
ΔE00 2.45
Army Green
#4B5D16
ΔE00 4.67
Camouflage Green
#4B6113
ΔE00 5.76
Forest Green
#2D5A27
ΔE00 7.10
Dark Olive
#373E02
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A510E #250E51
analogous
#51460E #3A510E #18510E
triadic
#3A510E #0E3A51 #510E3A
tetradic
#3A510E #0E5146 #250E51 #510E18
square
#3A510E #0E5146 #250E51 #510E18
split-complementary
#3A510E #0E1851 #460E51
monochromatic
#131A05 #151D05 #3A510E #5F8517 #85B920
Accessibility & contrast
On white
8.89
#3A510E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#3A510E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A510E
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A510E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A510E | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564B02
Deuteranopia (green-blind)
#524915
Tritanopia (blue-blind)
#3D4D44
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #3a510e; /* rgb */ color: rgb(58, 81, 14); /* oklch */ color: oklch(40.2% 0.095 127.2);
Tailwind
colors: {
custom: {
50: '#738252',
500: '#3a510e',
950: '#000000',
},
}SCSS
$custom: #3a510e; $custom-light: #738252; $custom-dark: #000000;
JSON
{
"hex": "#3a510e",
"rgb": {
"r": 58,
"g": 81,
"b": 14
},
"hsl": {
"h": 80.597,
"s": 70.526,
"l": 18.627
},
"oklch": {
"l": 0.40177,
"c": 0.09455,
"h": 127.2
},
"luminance": 0.06816
}Semantic roles & 50–950 ramp
primary
#3A510E
secondary
#4F2F8C
accent
#3AED78
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78