#4D470F#4D470F
#4D470F is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.2% C 0.074 H 103.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #4D470F |
|---|---|
| RGB | rgb(77, 71, 15) |
| HSL | hsl(54, 67%, 18%) |
| HSV | hsv(54, 81%, 30%) |
| CMYK | cmyk(0%, 7.8%, 80.5%, 69.8%) |
| CIE-LAB | lab(29.71, -4.81, 32.54) |
| CIE-LCH | lch(29.71, 32.89, 98.41°) |
| OKLab | oklab(39.24% -0.0167 0.0718) |
| OKLCH | oklch(39.24% 0.074 103.1) |
| XYZ | xyz(5.4003, 6.1190, 1.3485) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 3.53
Dark Olive
#373E02
ΔE00 6.17
Olive Brown
#645403
ΔE00 7.08
Dark Olive Green
#3C4D03
ΔE00 8.02
Mud Brown
#60460F
ΔE00 8.20
Greenish Brown
#696112
ΔE00 9.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D470F #0F154D
analogous
#4D280F #4D470F #344D0F
triadic
#4D470F #0F4D47 #470F4D
tetradic
#4D470F #0F4D28 #0F154D #4D0F34
square
#4D470F #0F4D28 #0F154D #4D0F34
split-complementary
#4D470F #0F344D #280F4D
monochromatic
#1A1805 #1A1805 #4D470F #807619 #B3A523
Accessibility & contrast
On white
9.44
#4D470F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#4D470F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D470F
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D470F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D470F | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4406
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#53413C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4d470f; /* rgb */ color: rgb(77, 71, 15); /* oklch */ color: oklch(39.2% 0.074 103.1);
Tailwind
colors: {
custom: {
50: '#817952',
500: '#4d470f',
950: '#000000',
},
}SCSS
$custom: #4d470f; $custom-light: #817952; $custom-dark: #000000;
JSON
{
"hex": "#4d470f",
"rgb": {
"r": 77,
"g": 71,
"b": 15
},
"hsl": {
"h": 54.194,
"s": 67.391,
"l": 18.039
},
"oklch": {
"l": 0.39241,
"c": 0.07371,
"h": 103.1
},
"luminance": 0.06119
}Semantic roles & 50–950 ramp
primary
#4D470F
secondary
#313987
accent
#4EEA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78