#3E420F#3E420F
#3E420F is a dark, moderate yellow. Relative luminance 0.050; OKLCH L 36.4% C 0.071 H 113.8°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #3E420F |
|---|---|
| RGB | rgb(62, 66, 15) |
| HSL | hsl(65, 63%, 16%) |
| HSV | hsv(65, 77%, 26%) |
| CMYK | cmyk(6.1%, 0%, 77.3%, 74.1%) |
| CIE-LAB | lab(26.61, -9.42, 28.99) |
| CIE-LCH | lch(26.61, 30.49, 108.01°) |
| OKLab | oklab(36.41% -0.0286 0.0649) |
| OKLCH | oklch(36.41% 0.071 113.8) |
| XYZ | xyz(4.0212, 4.9551, 1.1965) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive
#373E02
ΔE00 2.23
Dark Olive Green
#3C4D03
ΔE00 5.63
Green Brown
#544E03
ΔE00 7.22
Navy Green
#35530A
ΔE00 8.68
Army Green
#4B5D16
ΔE00 9.53
Forrest Green
#154406
ΔE00 10.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E420F #130F42
analogous
#422C0F #3E420F #24420F
triadic
#3E420F #0F3E42 #420F3E
tetradic
#3E420F #0F422C #130F42 #420F24
square
#3E420F #0F422C #130F42 #420F24
split-complementary
#3E420F #0F2442 #2C0F42
monochromatic
#171906 #171906 #3E420F #6D741A #9CA626
Accessibility & contrast
On white
10.55
#3E420F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#3E420F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E420F
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E420F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E420F | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#473E07
Deuteranopia (green-blind)
#473F13
Tritanopia (blue-blind)
#433E38
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3e420f; /* rgb */ color: rgb(62, 66, 15); /* oklch */ color: oklch(36.4% 0.071 113.8);
Tailwind
colors: {
custom: {
50: '#757651',
500: '#3e420f',
950: '#000000',
},
}SCSS
$custom: #3e420f; $custom-light: #757651; $custom-dark: #000000;
JSON
{
"hex": "#3e420f",
"rgb": {
"r": 62,
"g": 66,
"b": 15
},
"hsl": {
"h": 64.706,
"s": 62.963,
"l": 15.882
},
"oklch": {
"l": 0.36406,
"c": 0.07094,
"h": 113.8
},
"luminance": 0.04955
}Semantic roles & 50–950 ramp
primary
#3E420F
secondary
#36307C
accent
#42E64F
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78