#42460E#42460E
#42460E is a dark, moderate yellow. Relative luminance 0.056; OKLCH L 37.9% C 0.076 H 113.5°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #42460E |
|---|---|
| RGB | rgb(66, 70, 14) |
| HSL | hsl(64, 67%, 16%) |
| HSV | hsv(64, 80%, 27%) |
| CMYK | cmyk(5.7%, 0%, 80%, 72.5%) |
| CIE-LAB | lab(28.30, -9.86, 31.23) |
| CIE-LCH | lch(28.30, 32.75, 107.51°) |
| OKLab | oklab(37.85% -0.0302 0.0693) |
| OKLCH | oklch(37.85% 0.076 113.5) |
| XYZ | xyz(4.5163, 5.5704, 1.2527) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive
#373E02
ΔE00 2.98
Dark Olive Green
#3C4D03
ΔE00 4.68
Green Brown
#544E03
ΔE00 5.92
Navy Green
#35530A
ΔE00 7.99
Army Green
#4B5D16
ΔE00 8.24
Camouflage Green
#4B6113
ΔE00 9.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42460E #120E46
analogous
#462E0E #42460E #26460E
triadic
#42460E #0E4246 #460E42
tetradic
#42460E #0E462E #120E46 #460E26
square
#42460E #0E462E #120E46 #460E26
split-complementary
#42460E #0E2646 #2E0E46
monochromatic
#181A05 #181A05 #42460E #727918 #A2AC22
Accessibility & contrast
On white
9.93
#42460E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#42460E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42460E
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42460E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42460E | 1.00 | 9.93 | 2.11 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4205
Deuteranopia (green-blind)
#4C4312
Tritanopia (blue-blind)
#47413B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #42460e; /* rgb */ color: rgb(66, 70, 14); /* oklch */ color: oklch(37.9% 0.076 113.5);
Tailwind
colors: {
custom: {
50: '#797951',
500: '#42460e',
950: '#000000',
},
}SCSS
$custom: #42460e; $custom-light: #797951; $custom-dark: #000000;
JSON
{
"hex": "#42460e",
"rgb": {
"r": 66,
"g": 70,
"b": 14
},
"hsl": {
"h": 64.286,
"s": 66.667,
"l": 16.471
},
"oklch": {
"l": 0.37853,
"c": 0.07558,
"h": 113.5
},
"luminance": 0.0557
}Semantic roles & 50–950 ramp
primary
#42460E
secondary
#352F81
accent
#3EEA4A
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78