#4D4F12#4D4F12
#4D4F12 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.3% C 0.081 H 111.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4D4F12 |
|---|---|
| RGB | rgb(77, 79, 18) |
| HSL | hsl(62, 63%, 19%) |
| HSV | hsv(62, 77%, 31%) |
| CMYK | cmyk(2.5%, 0%, 77.2%, 69%) |
| CIE-LAB | lab(32.29, -9.43, 33.76) |
| CIE-LCH | lch(32.29, 35.05, 105.61°) |
| OKLab | oklab(41.3% -0.0293 0.075) |
| OKLCH | oklch(41.3% 0.081 111.3) |
| XYZ | xyz(5.9659, 7.2136, 1.6502) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 3.78
Dark Olive Green
#3C4D03
ΔE00 5.04
Dark Olive
#373E02
ΔE00 6.14
Army Green
#4B5D16
ΔE00 6.28
Camouflage Green
#4B6113
ΔE00 7.81
Olive Brown
#645403
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D4F12 #14124F
analogous
#4F3312 #4D4F12 #2F4F12
triadic
#4D4F12 #124D4F #4F124D
tetradic
#4D4F12 #124F33 #14124F #4F122F
square
#4D4F12 #124F33 #14124F #4F122F
split-complementary
#4D4F12 #122F4F #33124F
monochromatic
#181906 #1C1D07 #4D4F12 #7E811D #AEB329
Accessibility & contrast
On white
8.60
#4D4F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#4D4F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D4F12
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D4F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D4F12 | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564B08
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#534A43
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #4d4f12; /* rgb */ color: rgb(77, 79, 18); /* oklch */ color: oklch(41.3% 0.081 111.3);
Tailwind
colors: {
custom: {
50: '#818055',
500: '#4d4f12',
950: '#000000',
},
}SCSS
$custom: #4d4f12; $custom-light: #818055; $custom-dark: #000000;
JSON
{
"hex": "#4d4f12",
"rgb": {
"r": 77,
"g": 79,
"b": 18
},
"hsl": {
"h": 61.967,
"s": 62.887,
"l": 19.02
},
"oklch": {
"l": 0.41304,
"c": 0.08053,
"h": 111.3
},
"luminance": 0.07213
}Semantic roles & 50–950 ramp
primary
#4D4F12
secondary
#383588
accent
#42E647
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78