#474A0C#474A0C
#474A0C is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.4% C 0.080 H 112.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #474A0C |
|---|---|
| RGB | rgb(71, 74, 12) |
| HSL | hsl(63, 72%, 17%) |
| HSV | hsv(63, 84%, 29%) |
| CMYK | cmyk(4.1%, 0%, 83.8%, 71%) |
| CIE-LAB | lab(30.07, -9.81, 33.87) |
| CIE-LCH | lch(30.07, 35.26, 106.16°) |
| OKLab | oklab(39.38% -0.0306 0.0742) |
| OKLCH | oklch(39.38% 0.08 112.4) |
| XYZ | xyz(5.1138, 6.2638, 1.2874) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive
#373E02
ΔE00 4.42
Green Brown
#544E03
ΔE00 4.42
Dark Olive Green
#3C4D03
ΔE00 4.48
Army Green
#4B5D16
ΔE00 7.25
Navy Green
#35530A
ΔE00 7.93
Camouflage Green
#4B6113
ΔE00 8.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#474A0C #0F0C4A
analogous
#4A2E0C #474A0C #284A0C
triadic
#474A0C #0C474A #4A0C47
tetradic
#474A0C #0C4A2E #0F0C4A #4A0C28
square
#474A0C #0C4A2E #0F0C4A #4A0C28
split-complementary
#474A0C #0C284A #2E0C4A
monochromatic
#191A04 #191A04 #474A0C #7A7F15 #ACB31D
Accessibility & contrast
On white
9.32
#474A0C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#474A0C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #474A0C
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##474A0C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##474A0C | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504601
Deuteranopia (green-blind)
#504711
Tritanopia (blue-blind)
#4C453E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #474a0c; /* rgb */ color: rgb(71, 74, 12); /* oklch */ color: oklch(39.4% 0.080 112.4);
Tailwind
colors: {
custom: {
50: '#7d7c51',
500: '#474a0c',
950: '#000000',
},
}SCSS
$custom: #474a0c; $custom-light: #7d7c51; $custom-dark: #000000;
JSON
{
"hex": "#474a0c",
"rgb": {
"r": 71,
"g": 74,
"b": 12
},
"hsl": {
"h": 62.903,
"s": 72.093,
"l": 16.863
},
"oklch": {
"l": 0.39378,
"c": 0.0803,
"h": 112.4
},
"luminance": 0.06264
}Semantic roles & 50–950 ramp
primary
#474A0C
secondary
#302C86
accent
#39EF42
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0902
muted
#7C7B78