#51560F#51560F
#51560F is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.5% C 0.090 H 113.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #51560F |
|---|---|
| RGB | rgb(81, 86, 15) |
| HSL | hsl(64, 70%, 20%) |
| HSV | hsv(64, 83%, 34%) |
| CMYK | cmyk(5.8%, 0%, 82.6%, 66.3%) |
| CIE-LAB | lab(34.88, -11.67, 37.52) |
| CIE-LCH | lch(34.88, 39.30, 107.28°) |
| OKLab | oklab(43.46% -0.0361 0.0822) |
| OKLCH | oklch(43.46% 0.09 113.7) |
| XYZ | xyz(6.8076, 8.4395, 1.7222) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Army Green
#4B5D16
ΔE00 4.38
Green Brown
#544E03
ΔE00 4.59
Dark Olive Green
#3C4D03
ΔE00 5.28
Camouflage Green
#4B6113
ΔE00 5.65
Mud Green
#606602
ΔE00 6.34
Camo Green
#526525
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51560F #140F56
analogous
#56370F #51560F #2E560F
triadic
#51560F #0F5156 #560F51
tetradic
#51560F #0F5637 #140F56 #560F2E
square
#51560F #0F5637 #140F56 #560F2E
split-complementary
#51560F #0F2E56 #370F56
monochromatic
#191A05 #202206 #51560F #828A18 #B3BE21
Accessibility & contrast
On white
7.81
#51560F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#51560F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51560F
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51560F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51560F | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5101
Deuteranopia (green-blind)
#5D5315
Tritanopia (blue-blind)
#575049
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #51560f; /* rgb */ color: rgb(81, 86, 15); /* oklch */ color: oklch(43.5% 0.090 113.7);
Tailwind
colors: {
custom: {
50: '#848554',
500: '#51560f',
950: '#000000',
},
}SCSS
$custom: #51560f; $custom-light: #848554; $custom-dark: #000000;
JSON
{
"hex": "#51560f",
"rgb": {
"r": 81,
"g": 86,
"b": 15
},
"hsl": {
"h": 64.225,
"s": 70.297,
"l": 19.804
},
"oklch": {
"l": 0.43464,
"c": 0.08978,
"h": 113.7
},
"luminance": 0.08439
}Semantic roles & 50–950 ramp
primary
#51560F
secondary
#383190
accent
#3BED47
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78