#4F4712#4F4712
#4F4712 is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.5% C 0.071 H 100.5°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4F4712 |
|---|---|
| RGB | rgb(79, 71, 18) |
| HSL | hsl(52, 63%, 19%) |
| HSV | hsv(52, 77%, 31%) |
| CMYK | cmyk(0%, 10.1%, 77.2%, 69%) |
| CIE-LAB | lab(29.94, -3.62, 31.51) |
| CIE-LCH | lch(29.94, 31.72, 96.55°) |
| OKLab | oklab(39.48% -0.013 0.0702) |
| OKLCH | oklch(39.48% 0.071 100.5) |
| XYZ | xyz(5.5871, 6.2127, 1.4770) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 3.92
Olive Brown
#645403
ΔE00 6.87
Dark Olive
#373E02
ΔE00 6.94
Mud Brown
#60460F
ΔE00 7.36
Dark Olive Green
#3C4D03
ΔE00 8.91
Greenish Brown
#696112
ΔE00 9.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F4712 #121A4F
analogous
#4F2912 #4F4712 #394F12
triadic
#4F4712 #124F47 #47124F
tetradic
#4F4712 #124F29 #121A4F #4F1239
square
#4F4712 #124F29 #121A4F #4F1239
split-complementary
#4F4712 #12394F #29124F
monochromatic
#191606 #1D1A07 #4F4712 #81741D #B3A129
Accessibility & contrast
On white
9.36
#4F4712 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#4F4712 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F4712
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F4712 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F4712 | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E450A
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#56413C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4f4712; /* rgb */ color: rgb(79, 71, 18); /* oklch */ color: oklch(39.5% 0.071 100.5);
Tailwind
colors: {
custom: {
50: '#837954',
500: '#4f4712',
950: '#000000',
},
}SCSS
$custom: #4f4712; $custom-light: #837954; $custom-dark: #000000;
JSON
{
"hex": "#4f4712",
"rgb": {
"r": 79,
"g": 71,
"b": 18
},
"hsl": {
"h": 52.131,
"s": 62.887,
"l": 19.02
},
"oklch": {
"l": 0.39483,
"c": 0.0714,
"h": 100.5
},
"luminance": 0.06212
}Semantic roles & 50–950 ramp
primary
#4F4712
secondary
#354088
accent
#57E642
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0903
muted
#7C7B78