#4E512F#4E512F
#4E512F is a dark, muted yellow. Relative luminance 0.077; OKLCH L 42.3% C 0.052 H 112.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #4E512F |
|---|---|
| RGB | rgb(78, 81, 47) |
| HSL | hsl(65, 27%, 25%) |
| HSV | hsv(65, 42%, 32%) |
| CMYK | cmyk(3.7%, 0%, 42%, 68.2%) |
| CIE-LAB | lab(33.37, -7.32, 19.60) |
| CIE-LCH | lch(33.37, 20.92, 110.48°) |
| OKLab | oklab(42.3% -0.0201 0.0479) |
| OKLCH | oklch(42.3% 0.052 112.7) |
| XYZ | xyz(6.5975, 7.7099, 3.8294) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive Green
#3C4D03
ΔE00 8.91
Dark Olive
#373E02
ΔE00 9.00
Army Green
#4B5D16
ΔE00 9.02
Green Brown
#544E03
ΔE00 9.29
Camo Green
#526525
ΔE00 9.63
Navy Green
#35530A
ΔE00 10.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E512F #322F51
analogous
#51432F #4E512F #3D512F
triadic
#4E512F #2F4E51 #512F4E
tetradic
#4E512F #2F5143 #322F51 #512F3D
square
#4E512F #2F5143 #322F51 #512F3D
split-complementary
#4E512F #2F3D51 #432F51
monochromatic
#13130B #292A19 #4E512F #737845 #999E5C
Accessibility & contrast
On white
8.26
#4E512F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#4E512F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E512F
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E512F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E512F | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564E2C
Deuteranopia (green-blind)
#564F31
Tritanopia (blue-blind)
#524D49
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #4e512f; /* rgb */ color: rgb(78, 81, 47); /* oklch */ color: oklch(42.3% 0.052 112.7);
Tailwind
colors: {
custom: {
50: '#808168',
500: '#4e512f',
950: '#000000',
},
}SCSS
$custom: #4e512f; $custom-light: #808168; $custom-dark: #000000;
JSON
{
"hex": "#4e512f",
"rgb": {
"r": 78,
"g": 81,
"b": 47
},
"hsl": {
"h": 65.294,
"s": 26.562,
"l": 25.098
},
"oklch": {
"l": 0.42304,
"c": 0.05195,
"h": 112.7
},
"luminance": 0.0771
}Semantic roles & 50–950 ramp
primary
#4E512F
secondary
#5D5982
accent
#65C36D
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0A06
muted
#7C7C7A