#4E512B#4E512B
#4E512B is a dark, muted yellow. Relative luminance 0.077; OKLCH L 42.2% C 0.057 H 112.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4E512B |
|---|---|
| RGB | rgb(78, 81, 43) |
| HSL | hsl(65, 31%, 24%) |
| HSV | hsv(65, 47%, 32%) |
| CMYK | cmyk(3.7%, 0%, 46.9%, 68.2%) |
| CIE-LAB | lab(33.31, -7.84, 21.88) |
| CIE-LCH | lch(33.31, 23.25, 109.71°) |
| OKLab | oklab(42.23% -0.0219 0.0528) |
| OKLCH | oklch(42.23% 0.057 112.5) |
| XYZ | xyz(6.5204, 7.6791, 3.4237) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive Green
#3C4D03
ΔE00 7.92
Army Green
#4B5D16
ΔE00 8.10
Dark Olive
#373E02
ΔE00 8.23
Green Brown
#544E03
ΔE00 8.26
Camo Green
#526525
ΔE00 8.95
Navy Green
#35530A
ΔE00 9.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E512B #2E2B51
analogous
#51412B #4E512B #3B512B
triadic
#4E512B #2B4E51 #512B4E
tetradic
#4E512B #2B5141 #2E2B51 #512B3B
square
#4E512B #2B5141 #2E2B51 #512B3B
split-complementary
#4E512B #2B3B51 #412B51
monochromatic
#13140B #282916 #4E512B #747940 #9BA155
Accessibility & contrast
On white
8.28
#4E512B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#4E512B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E512B
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E512B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E512B | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564E28
Deuteranopia (green-blind)
#564F2D
Tritanopia (blue-blind)
#524D48
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #4e512b; /* rgb */ color: rgb(78, 81, 43); /* oklch */ color: oklch(42.2% 0.057 112.5);
Tailwind
colors: {
custom: {
50: '#808165',
500: '#4e512b',
950: '#000000',
},
}SCSS
$custom: #4e512b; $custom-light: #808165; $custom-dark: #000000;
JSON
{
"hex": "#4e512b",
"rgb": {
"r": 78,
"g": 81,
"b": 43
},
"hsl": {
"h": 64.737,
"s": 30.645,
"l": 24.314
},
"oklch": {
"l": 0.42231,
"c": 0.0572,
"h": 112.5
},
"luminance": 0.07679
}Semantic roles & 50–950 ramp
primary
#4E512B
secondary
#585583
accent
#61C769
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0A05
muted
#7C7C7A