#51510F#51510F
#51510F is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.2% C 0.084 H 109.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #51510F |
|---|---|
| RGB | rgb(81, 81, 15) |
| HSL | hsl(60, 69%, 19%) |
| HSV | hsv(60, 81%, 32%) |
| CMYK | cmyk(0%, 0%, 81.5%, 68.2%) |
| CIE-LAB | lab(33.28, -8.78, 36.05) |
| CIE-LCH | lch(33.28, 37.10, 103.69°) |
| OKLab | oklab(42.19% -0.028 0.0791) |
| OKLCH | oklch(42.19% 0.084 109.5) |
| XYZ | xyz(6.4222, 7.6689, 1.5938) |
| Luminance | 0.0767 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 2.74
Dark Olive Green
#3C4D03
ΔE00 5.94
Army Green
#4B5D16
ΔE00 6.47
Olive Brown
#645403
ΔE00 6.62
Greenish Brown
#696112
ΔE00 7.01
Dark Olive
#373E02
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51510F #0F0F51
analogous
#51300F #51510F #30510F
triadic
#51510F #0F5151 #510F51
tetradic
#51510F #0F5130 #0F0F51 #510F30
square
#51510F #0F5130 #0F0F51 #510F30
split-complementary
#51510F #0F3051 #300F51
monochromatic
#1A1A05 #1D1D05 #51510F #858519 #B8B822
Accessibility & contrast
On white
8.29
#51510F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#51510F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51510F
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51510F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51510F | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584D02
Deuteranopia (green-blind)
#594F14
Tritanopia (blue-blind)
#574B45
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #51510f; /* rgb */ color: rgb(81, 81, 15); /* oklch */ color: oklch(42.2% 0.084 109.5);
Tailwind
colors: {
custom: {
50: '#848153',
500: '#51510f',
950: '#000000',
},
}SCSS
$custom: #51510f; $custom-light: #848153; $custom-dark: #000000;
JSON
{
"hex": "#51510f",
"rgb": {
"r": 81,
"g": 81,
"b": 15
},
"hsl": {
"h": 60,
"s": 68.75,
"l": 18.824
},
"oklch": {
"l": 0.42185,
"c": 0.0839,
"h": 109.5
},
"luminance": 0.07669
}Semantic roles & 50–950 ramp
primary
#51510F
secondary
#31318B
accent
#3CEC3C
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0B0A03
muted
#7C7C78