#4E512A#4E512A
#4E512A is a dark, muted yellow. Relative luminance 0.077; OKLCH L 42.2% C 0.058 H 112.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4E512A |
|---|---|
| RGB | rgb(78, 81, 42) |
| HSL | hsl(65, 32%, 24%) |
| HSV | hsv(65, 48%, 32%) |
| CMYK | cmyk(3.7%, 0%, 48.1%, 68.2%) |
| CIE-LAB | lab(33.29, -7.96, 22.45) |
| CIE-LCH | lch(33.29, 23.82, 109.53°) |
| OKLab | oklab(42.21% -0.0224 0.054) |
| OKLCH | oklch(42.21% 0.058 112.5) |
| XYZ | xyz(6.5023, 7.6718, 3.3283) |
| Luminance | 0.0767 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive Green
#3C4D03
ΔE00 7.69
Army Green
#4B5D16
ΔE00 7.90
Green Brown
#544E03
ΔE00 8.01
Dark Olive
#373E02
ΔE00 8.06
Camo Green
#526525
ΔE00 8.80
Navy Green
#35530A
ΔE00 9.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E512A #2D2A51
analogous
#51412A #4E512A #3B512A
triadic
#4E512A #2A4E51 #512A4E
tetradic
#4E512A #2A5141 #2D2A51 #512A3B
square
#4E512A #2A5141 #2D2A51 #512A3B
split-complementary
#4E512A #2A3B51 #412A51
monochromatic
#13140A #272915 #4E512A #75793F #9CA254
Accessibility & contrast
On white
8.29
#4E512A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#4E512A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E512A
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E512A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E512A | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564E27
Deuteranopia (green-blind)
#564F2C
Tritanopia (blue-blind)
#524D48
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #4e512a; /* rgb */ color: rgb(78, 81, 42); /* oklch */ color: oklch(42.2% 0.058 112.5);
Tailwind
colors: {
custom: {
50: '#808164',
500: '#4e512a',
950: '#000000',
},
}SCSS
$custom: #4e512a; $custom-light: #808164; $custom-dark: #000000;
JSON
{
"hex": "#4e512a",
"rgb": {
"r": 78,
"g": 81,
"b": 42
},
"hsl": {
"h": 64.615,
"s": 31.707,
"l": 24.118
},
"oklch": {
"l": 0.42213,
"c": 0.05847,
"h": 112.5
},
"luminance": 0.07672
}Semantic roles & 50–950 ramp
primary
#4E512A
secondary
#575483
accent
#60C868
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0A05
muted
#7C7C7A