#4D400F#4D400F
#4D400F is a dark, moderate yellow. Relative luminance 0.053; OKLCH L 37.5% C 0.067 H 93.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4D400F |
|---|---|
| RGB | rgb(77, 64, 15) |
| HSL | hsl(47, 67%, 18%) |
| HSV | hsv(47, 81%, 30%) |
| CMYK | cmyk(0%, 16.9%, 80.5%, 69.8%) |
| CIE-LAB | lab(27.52, -0.47, 30.41) |
| CIE-LCH | lch(27.52, 30.42, 90.88°) |
| OKLab | oklab(37.5% -0.0043 0.0673) |
| OKLCH | oklch(37.5% 0.067 93.7) |
| XYZ | xyz(4.9805, 5.2793, 1.2085) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mud Brown
#60460F
ΔE00 5.82
Green Brown
#544E03
ΔE00 6.47
Olive Brown
#645403
ΔE00 8.31
Dark Olive
#373E02
ΔE00 8.43
Mud
#735C12
ΔE00 11.32
Dark Olive Green
#3C4D03
ΔE00 11.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D400F #0F1C4D
analogous
#4D210F #4D400F #3B4D0F
triadic
#4D400F #0F4D40 #400F4D
tetradic
#4D400F #0F4D21 #0F1C4D #4D0F3B
square
#4D400F #0F4D21 #0F1C4D #4D0F3B
split-complementary
#4D400F #0F3B4D #210F4D
monochromatic
#1A1505 #1A1505 #4D400F #806B19 #B39523
Accessibility & contrast
On white
10.22
#4D400F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#4D400F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D400F
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D400F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D400F | 1.00 | 10.22 | 2.06 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#483F07
Deuteranopia (green-blind)
#4B4312
Tritanopia (blue-blind)
#543A36
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4d400f; /* rgb */ color: rgb(77, 64, 15); /* oklch */ color: oklch(37.5% 0.067 93.7);
Tailwind
colors: {
custom: {
50: '#817451',
500: '#4d400f',
950: '#000000',
},
}SCSS
$custom: #4d400f; $custom-light: #817451; $custom-dark: #000000;
JSON
{
"hex": "#4d400f",
"rgb": {
"r": 77,
"g": 64,
"b": 15
},
"hsl": {
"h": 47.419,
"s": 67.391,
"l": 18.039
},
"oklch": {
"l": 0.37502,
"c": 0.06745,
"h": 93.7
},
"luminance": 0.05279
}Semantic roles & 50–950 ramp
primary
#4D400F
secondary
#314387
accent
#62EA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78