#514E11#514E11
#514E11 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.4% C 0.079 H 106.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #514E11 |
|---|---|
| RGB | rgb(81, 78, 17) |
| HSL | hsl(57, 65%, 19%) |
| HSV | hsv(57, 79%, 32%) |
| CMYK | cmyk(0%, 3.7%, 79%, 68.2%) |
| CIE-LAB | lab(32.34, -6.90, 34.37) |
| CIE-LCH | lch(32.34, 35.05, 101.35°) |
| OKLab | oklab(41.44% -0.0226 0.0759) |
| OKLCH | oklch(41.44% 0.079 106.5) |
| XYZ | xyz(6.2192, 7.2388, 1.5998) |
| Luminance | 0.0724 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 2.30
Olive Brown
#645403
ΔE00 6.25
Dark Olive Green
#3C4D03
ΔE00 6.79
Dark Olive
#373E02
ΔE00 6.92
Greenish Brown
#696112
ΔE00 7.61
Army Green
#4B5D16
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514E11 #111451
analogous
#512E11 #514E11 #345111
triadic
#514E11 #11514E #4E1151
tetradic
#514E11 #11512E #111451 #511134
square
#514E11 #11512E #111451 #511134
split-complementary
#514E11 #113451 #2E1151
monochromatic
#191805 #1E1D06 #514E11 #847F1C #B6AF26
Accessibility & contrast
On white
8.58
#514E11 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#514E11 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514E11
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514E11 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514E11 | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554B06
Deuteranopia (green-blind)
#574D15
Tritanopia (blue-blind)
#584842
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #514e11; /* rgb */ color: rgb(81, 78, 17); /* oklch */ color: oklch(41.4% 0.079 106.5);
Tailwind
colors: {
custom: {
50: '#847f54',
500: '#514e11',
950: '#000000',
},
}SCSS
$custom: #514e11; $custom-light: #847f54; $custom-dark: #000000;
JSON
{
"hex": "#514e11",
"rgb": {
"r": 81,
"g": 78,
"b": 17
},
"hsl": {
"h": 57.188,
"s": 65.306,
"l": 19.216
},
"oklch": {
"l": 0.4144,
"c": 0.07922,
"h": 106.5
},
"luminance": 0.07239
}Semantic roles & 50–950 ramp
primary
#514E11
secondary
#34388A
accent
#47E840
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78