#42471E#42471E
#42471E is a dark, moderate yellow. Relative luminance 0.058; OKLCH L 38.3% C 0.062 H 115.1°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #42471E |
|---|---|
| RGB | rgb(66, 71, 30) |
| HSL | hsl(67, 41%, 20%) |
| HSV | hsv(67, 58%, 28%) |
| CMYK | cmyk(7%, 0%, 57.7%, 72.2%) |
| CIE-LAB | lab(28.79, -9.11, 23.68) |
| CIE-LCH | lch(28.79, 25.37, 111.04°) |
| OKLab | oklab(38.3% -0.0262 0.0558) |
| OKLCH | oklch(38.3% 0.062 115.1) |
| XYZ | xyz(4.7344, 5.7585, 2.0901) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive
#373E02
ΔE00 4.95
Dark Olive Green
#3C4D03
ΔE00 6.48
Green Brown
#544E03
ΔE00 8.37
Navy Green
#35530A
ΔE00 8.59
Army Green
#4B5D16
ΔE00 9.07
Camouflage Green
#4B6113
ΔE00 10.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42471E #231E47
analogous
#47381E #42471E #2E471E
triadic
#42471E #1E4247 #471E42
tetradic
#42471E #1E4738 #231E47 #471E2E
square
#42471E #1E4738 #231E47 #471E2E
split-complementary
#42471E #1E2E47 #381E47
monochromatic
#141609 #1A1C0C #42471E #6A7230 #929D42
Accessibility & contrast
On white
9.76
#42471E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#42471E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42471E
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42471E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42471E | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C441A
Deuteranopia (green-blind)
#4B4420
Tritanopia (blue-blind)
#46433E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #42471e; /* rgb */ color: rgb(66, 71, 30); /* oklch */ color: oklch(38.3% 0.062 115.1);
Tailwind
colors: {
custom: {
50: '#777a5b',
500: '#42471e',
950: '#000000',
},
}SCSS
$custom: #42471e; $custom-light: #777a5b; $custom-dark: #000000;
JSON
{
"hex": "#42471e",
"rgb": {
"r": 66,
"g": 71,
"b": 30
},
"hsl": {
"h": 67.317,
"s": 40.594,
"l": 19.804
},
"oklch": {
"l": 0.383,
"c": 0.06164,
"h": 115.1
},
"luminance": 0.05758
}Semantic roles & 50–950 ramp
primary
#42471E
secondary
#4C457C
accent
#57D066
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090904
muted
#7B7B79