#4E5126#4E5126
#4E5126 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.1% C 0.063 H 112.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5126 |
|---|---|
| RGB | rgb(78, 81, 38) |
| HSL | hsl(64, 36%, 23%) |
| HSV | hsv(64, 53%, 32%) |
| CMYK | cmyk(3.7%, 0%, 53.1%, 68.2%) |
| CIE-LAB | lab(33.23, -8.43, 24.68) |
| CIE-LCH | lch(33.23, 26.08, 108.85°) |
| OKLab | oklab(42.15% -0.0241 0.0586) |
| OKLCH | oklch(42.15% 0.063 112.4) |
| XYZ | xyz(6.4343, 7.6446, 2.9700) |
| Luminance | 0.0765 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive Green
#3C4D03
ΔE00 6.86
Green Brown
#544E03
ΔE00 7.09
Army Green
#4B5D16
ΔE00 7.15
Dark Olive
#373E02
ΔE00 7.49
Camo Green
#526525
ΔE00 8.31
Navy Green
#35530A
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5126 #292651
analogous
#513E26 #4E5126 #385126
triadic
#4E5126 #264E51 #51264E
tetradic
#4E5126 #26513E #292651 #512638
square
#4E5126 #26513E #292651 #512638
split-complementary
#4E5126 #263851 #3E2651
monochromatic
#14150A #262712 #4E5126 #767B3A #9EA44D
Accessibility & contrast
On white
8.30
#4E5126 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#4E5126 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E5126
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5126 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5126 | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574E22
Deuteranopia (green-blind)
#574F28
Tritanopia (blue-blind)
#534D47
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #4e5126; /* rgb */ color: rgb(78, 81, 38); /* oklch */ color: oklch(42.1% 0.063 112.4);
Tailwind
colors: {
custom: {
50: '#818161',
500: '#4e5126',
950: '#000000',
},
}SCSS
$custom: #4e5126; $custom-light: #818161; $custom-dark: #000000;
JSON
{
"hex": "#4e5126",
"rgb": {
"r": 78,
"g": 81,
"b": 38
},
"hsl": {
"h": 64.186,
"s": 36.134,
"l": 23.333
},
"oklch": {
"l": 0.42148,
"c": 0.06338,
"h": 112.4
},
"luminance": 0.07645
}Semantic roles & 50–950 ramp
primary
#4E5126
secondary
#524F84
accent
#5CCC63
background
#F7F7F5
surface
#EEEEEA
border
#C9C9C6
text
#0A0A05
muted
#7C7C79