#4C540F#4C540F
#4C540F is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.5% C 0.089 H 116.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4C540F |
|---|---|
| RGB | rgb(76, 84, 15) |
| HSL | hsl(67, 70%, 19%) |
| HSV | hsv(67, 82%, 33%) |
| CMYK | cmyk(9.5%, 0%, 82.1%, 67.1%) |
| CIE-LAB | lab(33.80, -12.97, 36.36) |
| CIE-LCH | lch(33.80, 38.61, 109.63°) |
| OKLab | oklab(42.49% -0.0394 0.0799) |
| OKLCH | oklch(42.49% 0.089 116.2) |
| XYZ | xyz(6.2372, 7.9117, 1.6504) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Army Green
#4B5D16
ΔE00 3.90
Dark Olive Green
#3C4D03
ΔE00 3.93
Camouflage Green
#4B6113
ΔE00 5.36
Green Brown
#544E03
ΔE00 5.36
Navy Green
#35530A
ΔE00 6.34
Camo Green
#526525
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C540F #170F54
analogous
#543A0F #4C540F #29540F
triadic
#4C540F #0F4C54 #540F4C
tetradic
#4C540F #0F543A #170F54 #540F29
square
#4C540F #0F543A #170F54 #540F29
split-complementary
#4C540F #0F2954 #3A0F54
monochromatic
#171A05 #1D2006 #4C540F #7B8818 #AABC22
Accessibility & contrast
On white
8.13
#4C540F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#4C540F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C540F
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C540F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C540F | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A4F02
Deuteranopia (green-blind)
#5A5015
Tritanopia (blue-blind)
#514F47
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #4c540f; /* rgb */ color: rgb(76, 84, 15); /* oklch */ color: oklch(42.5% 0.089 116.2);
Tailwind
colors: {
custom: {
50: '#818454',
500: '#4c540f',
950: '#000000',
},
}SCSS
$custom: #4c540f; $custom-light: #818454; $custom-dark: #000000;
JSON
{
"hex": "#4c540f",
"rgb": {
"r": 76,
"g": 84,
"b": 15
},
"hsl": {
"h": 66.957,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.42486,
"c": 0.08912,
"h": 116.2
},
"luminance": 0.07912
}Semantic roles & 50–950 ramp
primary
#4C540F
secondary
#3C318E
accent
#3BED50
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A03
muted
#7C7C78