#4C510F#4C510F
#4C510F is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.7% C 0.085 H 113.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #4C510F |
|---|---|
| RGB | rgb(76, 81, 15) |
| HSL | hsl(65, 69%, 19%) |
| HSV | hsv(65, 81%, 32%) |
| CMYK | cmyk(6.2%, 0%, 81.5%, 68.2%) |
| CIE-LAB | lab(32.82, -11.26, 35.45) |
| CIE-LCH | lch(32.82, 37.20, 107.61°) |
| OKLab | oklab(41.7% -0.0346 0.078) |
| OKLCH | oklch(41.7% 0.085 113.9) |
| XYZ | xyz(6.0093, 7.4560, 1.5744) |
| Luminance | 0.0746 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive Green
#3C4D03
ΔE00 4.22
Green Brown
#544E03
ΔE00 4.40
Army Green
#4B5D16
ΔE00 5.16
Dark Olive
#373E02
ΔE00 6.48
Camouflage Green
#4B6113
ΔE00 6.65
Navy Green
#35530A
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C510F #140F51
analogous
#51350F #4C510F #2B510F
triadic
#4C510F #0F4C51 #510F4C
tetradic
#4C510F #0F5135 #140F51 #510F2B
square
#4C510F #0F5135 #140F51 #510F2B
split-complementary
#4C510F #0F2B51 #350F51
monochromatic
#181A05 #1C1D05 #4C510F #7C8519 #ADB822
Accessibility & contrast
On white
8.43
#4C510F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#4C510F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C510F
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C510F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C510F | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584D03
Deuteranopia (green-blind)
#574E15
Tritanopia (blue-blind)
#524C45
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #4c510f; /* rgb */ color: rgb(76, 81, 15); /* oklch */ color: oklch(41.7% 0.085 113.9);
Tailwind
colors: {
custom: {
50: '#818153',
500: '#4c510f',
950: '#000000',
},
}SCSS
$custom: #4c510f; $custom-light: #818153; $custom-dark: #000000;
JSON
{
"hex": "#4c510f",
"rgb": {
"r": 76,
"g": 81,
"b": 15
},
"hsl": {
"h": 64.545,
"s": 68.75,
"l": 18.824
},
"oklch": {
"l": 0.41703,
"c": 0.08536,
"h": 113.9
},
"luminance": 0.07456
}Semantic roles & 50–950 ramp
primary
#4C510F
secondary
#38318B
accent
#3CEC49
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0A0A03
muted
#7C7C78