#4F4912#4F4912
#4F4912 is a dark, moderate yellow. Relative luminance 0.065; OKLCH L 40.0% C 0.073 H 103.0°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4F4912 |
|---|---|
| RGB | rgb(79, 73, 18) |
| HSL | hsl(54, 63%, 19%) |
| HSV | hsv(54, 77%, 31%) |
| CMYK | cmyk(0%, 7.6%, 77.2%, 69%) |
| CIE-LAB | lab(30.57, -4.84, 32.14) |
| CIE-LCH | lch(30.57, 32.50, 98.57°) |
| OKLab | oklab(39.98% -0.0165 0.0715) |
| OKLCH | oklch(39.98% 0.073 103) |
| XYZ | xyz(5.7164, 6.4713, 1.5201) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 3.29
Dark Olive
#373E02
ΔE00 6.56
Olive Brown
#645403
ΔE00 6.73
Dark Olive Green
#3C4D03
ΔE00 7.99
Mud Brown
#60460F
ΔE00 8.17
Greenish Brown
#696112
ΔE00 9.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F4912 #12184F
analogous
#4F2B12 #4F4912 #374F12
triadic
#4F4912 #124F49 #49124F
tetradic
#4F4912 #124F2B #12184F #4F1237
square
#4F4912 #124F2B #12184F #4F1237
split-complementary
#4F4912 #12374F #2B124F
monochromatic
#191706 #1D1B07 #4F4912 #81771D #B3A529
Accessibility & contrast
On white
9.15
#4F4912 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#4F4912 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F4912
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F4912 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F4912 | 1.00 | 9.15 | 2.29 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#524916
Tritanopia (blue-blind)
#56433E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4f4912; /* rgb */ color: rgb(79, 73, 18); /* oklch */ color: oklch(40.0% 0.073 103.0);
Tailwind
colors: {
custom: {
50: '#837b54',
500: '#4f4912',
950: '#000000',
},
}SCSS
$custom: #4f4912; $custom-light: #837b54; $custom-dark: #000000;
JSON
{
"hex": "#4f4912",
"rgb": {
"r": 79,
"g": 73,
"b": 18
},
"hsl": {
"h": 54.098,
"s": 62.887,
"l": 19.02
},
"oklch": {
"l": 0.39982,
"c": 0.0734,
"h": 103
},
"luminance": 0.06471
}Semantic roles & 50–950 ramp
primary
#4F4912
secondary
#353D88
accent
#52E642
background
#F8F7F4
surface
#EFEDE8
border
#CAC8C4
text
#0B0903
muted
#7C7B78