#514E18#514E18
#514E18 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.5% C 0.074 H 106.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #514E18 |
|---|---|
| RGB | rgb(81, 78, 24) |
| HSL | hsl(57, 54%, 21%) |
| HSV | hsv(57, 70%, 32%) |
| CMYK | cmyk(0%, 3.7%, 70.4%, 68.2%) |
| CIE-LAB | lab(32.40, -6.46, 31.26) |
| CIE-LCH | lch(32.40, 31.92, 101.68°) |
| OKLab | oklab(41.5% -0.0205 0.0707) |
| OKLCH | oklch(41.5% 0.074 106.1) |
| XYZ | xyz(6.2828, 7.2643, 1.9352) |
| Luminance | 0.0726 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 3.43
Dark Olive
#373E02
ΔE00 6.90
Olive Brown
#645403
ΔE00 6.90
Dark Olive Green
#3C4D03
ΔE00 7.01
Army Green
#4B5D16
ΔE00 7.97
Greenish Brown
#696112
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514E18 #181B51
analogous
#513118 #514E18 #375118
triadic
#514E18 #18514E #4E1851
tetradic
#514E18 #185131 #181B51 #511837
square
#514E18 #185131 #181B51 #511837
split-complementary
#514E18 #183751 #311851
monochromatic
#181707 #22210A #514E18 #807B26 #AFA934
Accessibility & contrast
On white
8.56
#514E18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#514E18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514E18
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514E18 | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554B11
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#574943
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #514e18; /* rgb */ color: rgb(81, 78, 24); /* oklch */ color: oklch(41.5% 0.074 106.1);
Tailwind
colors: {
custom: {
50: '#847f58',
500: '#514e18',
950: '#000000',
},
}SCSS
$custom: #514e18; $custom-light: #847f58; $custom-dark: #000000;
JSON
{
"hex": "#514e18",
"rgb": {
"r": 81,
"g": 78,
"b": 24
},
"hsl": {
"h": 56.842,
"s": 54.286,
"l": 20.588
},
"oklch": {
"l": 0.41503,
"c": 0.07365,
"h": 106.1
},
"luminance": 0.07264
}Semantic roles & 50–950 ramp
primary
#514E18
secondary
#3D4188
accent
#52DE4A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78