#4C460F#4C460F
#4C460F is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 38.9% C 0.073 H 102.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #4C460F |
|---|---|
| RGB | rgb(76, 70, 15) |
| HSL | hsl(54, 67%, 18%) |
| HSV | hsv(54, 80%, 30%) |
| CMYK | cmyk(0%, 7.9%, 80.3%, 70.2%) |
| CIE-LAB | lab(29.29, -4.71, 32.10) |
| CIE-LCH | lch(29.29, 32.44, 98.35°) |
| OKLab | oklab(38.88% -0.0163 0.0709) |
| OKLCH | oklch(38.88% 0.073 102.9) |
| XYZ | xyz(5.2571, 5.9515, 1.3237) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 3.88
Dark Olive
#373E02
ΔE00 5.99
Olive Brown
#645403
ΔE00 7.39
Dark Olive Green
#3C4D03
ΔE00 8.10
Mud Brown
#60460F
ΔE00 8.23
Greenish Brown
#696112
ΔE00 10.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C460F #0F154C
analogous
#4C270F #4C460F #334C0F
triadic
#4C460F #0F4C46 #460F4C
tetradic
#4C460F #0F4C27 #0F154C #4C0F33
square
#4C460F #0F4C27 #0F154C #4C0F33
split-complementary
#4C460F #0F334C #270F4C
monochromatic
#1A1805 #1A1805 #4C460F #7F7519 #B2A423
Accessibility & contrast
On white
9.59
#4C460F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#4C460F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C460F
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C460F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C460F | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4306
Deuteranopia (green-blind)
#4F4613
Tritanopia (blue-blind)
#52403B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #4c460f; /* rgb */ color: rgb(76, 70, 15); /* oklch */ color: oklch(38.9% 0.073 102.9);
Tailwind
colors: {
custom: {
50: '#817952',
500: '#4c460f',
950: '#000000',
},
}SCSS
$custom: #4c460f; $custom-light: #817952; $custom-dark: #000000;
JSON
{
"hex": "#4c460f",
"rgb": {
"r": 76,
"g": 70,
"b": 15
},
"hsl": {
"h": 54.098,
"s": 67.033,
"l": 17.843
},
"oklch": {
"l": 0.38882,
"c": 0.07277,
"h": 102.9
},
"luminance": 0.05951
}Semantic roles & 50–950 ramp
primary
#4C460F
secondary
#313986
accent
#4FEA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78