#4D420C#4D420C
#4D420C is a dark, moderate yellow. Relative luminance 0.055; OKLCH L 38.0% C 0.071 H 97.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #4D420C |
|---|---|
| RGB | rgb(77, 66, 12) |
| HSL | hsl(50, 73%, 17%) |
| HSV | hsv(50, 84%, 30%) |
| CMYK | cmyk(0%, 14.3%, 84.4%, 69.8%) |
| CIE-LAB | lab(28.12, -1.87, 32.28) |
| CIE-LCH | lch(28.12, 32.34, 93.32°) |
| OKLab | oklab(37.97% -0.0087 0.0706) |
| OKLCH | oklch(37.97% 0.071 97) |
| XYZ | xyz(5.0754, 5.5010, 1.1422) |
| Luminance | 0.0550 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 5.17
Mud Brown
#60460F
ΔE00 6.39
Olive Brown
#645403
ΔE00 7.51
Dark Olive
#373E02
ΔE00 7.54
Dark Olive Green
#3C4D03
ΔE00 10.40
Mud
#735C12
ΔE00 10.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D420C #0C174D
analogous
#4D210C #4D420C #384D0C
triadic
#4D420C #0C4D42 #420C4D
tetradic
#4D420C #0C4D21 #0C174D #4D0C38
square
#4D420C #0C4D21 #0C174D #4D0C38
split-complementary
#4D420C #0C384D #210C4D
monochromatic
#1A1704 #1A1704 #4D420C #826F14 #B79D1D
Accessibility & contrast
On white
10.00
#4D420C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#4D420C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D420C
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D420C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D420C | 1.00 | 10.00 | 2.10 | 10.00 |
| #FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4003
Deuteranopia (green-blind)
#4D4410
Tritanopia (blue-blind)
#543C38
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4d420c; /* rgb */ color: rgb(77, 66, 12); /* oklch */ color: oklch(38.0% 0.071 97.0);
Tailwind
colors: {
custom: {
50: '#827650',
500: '#4d420c',
950: '#000000',
},
}SCSS
$custom: #4d420c; $custom-light: #827650; $custom-dark: #000000;
JSON
{
"hex": "#4d420c",
"rgb": {
"r": 77,
"g": 66,
"b": 12
},
"hsl": {
"h": 49.846,
"s": 73.034,
"l": 17.451
},
"oklch": {
"l": 0.3797,
"c": 0.07112,
"h": 97
},
"luminance": 0.05501
}Semantic roles & 50–950 ramp
primary
#4D420C
secondary
#2C3C89
accent
#57F038
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78