#514F12#514F12
#514F12 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.7% C 0.080 H 107.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #514F12 |
|---|---|
| RGB | rgb(81, 79, 18) |
| HSL | hsl(58, 64%, 19%) |
| HSV | hsv(58, 78%, 32%) |
| CMYK | cmyk(0%, 2.5%, 77.8%, 68.2%) |
| CIE-LAB | lab(32.67, -7.44, 34.26) |
| CIE-LCH | lch(32.67, 35.06, 102.25°) |
| OKLab | oklab(41.7% -0.024 0.0759) |
| OKLCH | oklch(41.7% 0.08 107.5) |
| XYZ | xyz(6.2987, 7.3852, 1.6658) |
| Luminance | 0.0738 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 2.55
Olive Brown
#645403
ΔE00 6.46
Dark Olive Green
#3C4D03
ΔE00 6.49
Dark Olive
#373E02
ΔE00 6.95
Army Green
#4B5D16
ΔE00 7.36
Greenish Brown
#696112
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514F12 #121451
analogous
#513012 #514F12 #345112
triadic
#514F12 #12514F #4F1251
tetradic
#514F12 #125130 #121451 #511234
square
#514F12 #125130 #121451 #511234
split-complementary
#514F12 #123451 #301251
monochromatic
#191806 #1F1E07 #514F12 #83801D #B5B128
Accessibility & contrast
On white
8.48
#514F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#514F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514F12
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514F12 | 1.00 | 8.48 | 2.48 | 8.48 |
| #FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564C08
Deuteranopia (green-blind)
#574E16
Tritanopia (blue-blind)
#574943
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #514f12; /* rgb */ color: rgb(81, 79, 18); /* oklch */ color: oklch(41.7% 0.080 107.5);
Tailwind
colors: {
custom: {
50: '#848055',
500: '#514f12',
950: '#000000',
},
}SCSS
$custom: #514f12; $custom-light: #848055; $custom-dark: #000000;
JSON
{
"hex": "#514f12",
"rgb": {
"r": 81,
"g": 79,
"b": 18
},
"hsl": {
"h": 58.095,
"s": 63.636,
"l": 19.412
},
"oklch": {
"l": 0.417,
"c": 0.07961,
"h": 107.5
},
"luminance": 0.07385
}Semantic roles & 50–950 ramp
primary
#514F12
secondary
#35388A
accent
#46E741
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78