#514F28#514F28
#514F28 is a dark, muted yellow. Relative luminance 0.075; OKLCH L 42.0% C 0.058 H 106.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #514F28 |
|---|---|
| RGB | rgb(81, 79, 40) |
| HSL | hsl(57, 34%, 24%) |
| HSV | hsv(57, 51%, 32%) |
| CMYK | cmyk(0%, 2.5%, 50.6%, 68.2%) |
| CIE-LAB | lab(32.91, -5.58, 23.20) |
| CIE-LCH | lch(32.91, 23.87, 103.53°) |
| OKLab | oklab(41.97% -0.0159 0.0555) |
| OKLCH | oklch(41.97% 0.058 106) |
| XYZ | xyz(6.5725, 7.4947, 3.1075) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 6.96
Dark Olive
#373E02
ΔE00 8.16
Dark Olive Green
#3C4D03
ΔE00 8.60
Army Green
#4B5D16
ΔE00 9.08
Olive Brown
#645403
ΔE00 9.48
Camo Green
#526525
ΔE00 10.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514F28 #282A51
analogous
#513A28 #514F28 #3E5128
triadic
#514F28 #28514F #4F2851
tetradic
#514F28 #28513A #282A51 #51283E
square
#514F28 #28513A #282A51 #51283E
split-complementary
#514F28 #283E51 #3A2851
monochromatic
#14140A #282714 #514F28 #7A773C #A39F50
Accessibility & contrast
On white
8.40
#514F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#514F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514F28
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514F28 | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554C25
Deuteranopia (green-blind)
#564E2A
Tritanopia (blue-blind)
#564B46
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #514f28; /* rgb */ color: rgb(81, 79, 40); /* oklch */ color: oklch(42.0% 0.058 106.0);
Tailwind
colors: {
custom: {
50: '#838063',
500: '#514f28',
950: '#000000',
},
}SCSS
$custom: #514f28; $custom-light: #838063; $custom-dark: #000000;
JSON
{
"hex": "#514f28",
"rgb": {
"r": 81,
"g": 79,
"b": 40
},
"hsl": {
"h": 57.073,
"s": 33.884,
"l": 23.725
},
"oklch": {
"l": 0.41967,
"c": 0.05776,
"h": 106
},
"luminance": 0.07494
}Semantic roles & 50–950 ramp
primary
#514F28
secondary
#515484
accent
#63CA5E
background
#F8F7F5
surface
#EFEEEA
border
#CAC9C6
text
#0B0A05
muted
#7C7C79