#4A480F#4A480F
#4A480F is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.2% C 0.075 H 107.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #4A480F |
|---|---|
| RGB | rgb(74, 72, 15) |
| HSL | hsl(58, 66%, 17%) |
| HSV | hsv(58, 80%, 29%) |
| CMYK | cmyk(0%, 2.7%, 79.7%, 71%) |
| CIE-LAB | lab(29.73, -6.95, 32.45) |
| CIE-LCH | lch(29.73, 33.18, 102.08°) |
| OKLab | oklab(39.18% -0.0225 0.0718) |
| OKLCH | oklch(39.18% 0.075 107.4) |
| XYZ | xyz(5.2278, 6.1252, 1.3588) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 3.80
Dark Olive
#373E02
ΔE00 5.03
Dark Olive Green
#3C4D03
ΔE00 6.44
Olive Brown
#645403
ΔE00 7.94
Army Green
#4B5D16
ΔE00 8.84
Greenish Brown
#696112
ΔE00 9.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A480F #0F114A
analogous
#4A2A0F #4A480F #2F4A0F
triadic
#4A480F #0F4A48 #480F4A
tetradic
#4A480F #0F4A2A #0F114A #4A0F2F
square
#4A480F #0F4A2A #0F114A #4A0F2F
split-complementary
#4A480F #0F2F4A #2A0F4A
monochromatic
#191905 #191905 #4A480F #7D7A19 #B0AB24
Accessibility & contrast
On white
9.44
#4A480F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#4A480F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A480F
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A480F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A480F | 1.00 | 9.44 | 2.23 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4505
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#50433D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4a480f; /* rgb */ color: rgb(74, 72, 15); /* oklch */ color: oklch(39.2% 0.075 107.4);
Tailwind
colors: {
custom: {
50: '#7f7a52',
500: '#4a480f',
950: '#000000',
},
}SCSS
$custom: #4a480f; $custom-light: #7f7a52; $custom-dark: #000000;
JSON
{
"hex": "#4a480f",
"rgb": {
"r": 74,
"g": 72,
"b": 15
},
"hsl": {
"h": 57.966,
"s": 66.292,
"l": 17.451
},
"oklch": {
"l": 0.39181,
"c": 0.07518,
"h": 107.4
},
"luminance": 0.06125
}Semantic roles & 50–950 ramp
primary
#4A480F
secondary
#303384
accent
#44E93F
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0902
muted
#7C7B78