#5D5A0F#5D5A0F
#5D5A0F is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.6% C 0.091 H 107.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5A0F |
|---|---|
| RGB | rgb(93, 90, 15) |
| HSL | hsl(58, 72%, 21%) |
| HSV | hsv(58, 84%, 36%) |
| CMYK | cmyk(0%, 3.2%, 83.9%, 63.5%) |
| CIE-LAB | lab(37.25, -8.09, 40.08) |
| CIE-LCH | lch(37.25, 40.89, 101.41°) |
| OKLab | oklab(45.63% -0.0268 0.0871) |
| OKLCH | oklch(45.63% 0.091 107.1) |
| XYZ | xyz(8.2569, 9.6743, 1.8842) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Brown
#696112
ΔE00 3.37
Greeny Brown
#696006
ΔE00 3.72
Green Brown
#544E03
ΔE00 4.11
Olive Brown
#645403
ΔE00 5.05
Mud Green
#606602
ΔE00 5.07
Brown Green
#706C11
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5A0F #0F125D
analogous
#5D330F #5D5A0F #395D0F
triadic
#5D5A0F #0F5D5A #5A0F5D
tetradic
#5D5A0F #0F5D33 #0F125D #5D0F39
square
#5D5A0F #0F5D33 #0F125D #5D0F39
split-complementary
#5D5A0F #0F395D #330F5D
monochromatic
#1A1904 #282706 #5D5A0F #928D17 #C6C020
Accessibility & contrast
On white
7.16
#5D5A0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#5D5A0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D5A0F
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5A0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5A0F | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#645915
Tritanopia (blue-blind)
#64534C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #5d5a0f; /* rgb */ color: rgb(93, 90, 15); /* oklch */ color: oklch(45.6% 0.091 107.1);
Tailwind
colors: {
custom: {
50: '#8e8855',
500: '#5d5a0f',
950: '#000000',
},
}SCSS
$custom: #5d5a0f; $custom-light: #8e8855; $custom-dark: #000000;
JSON
{
"hex": "#5d5a0f",
"rgb": {
"r": 93,
"g": 90,
"b": 15
},
"hsl": {
"h": 57.692,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.45629,
"c": 0.09117,
"h": 107.1
},
"luminance": 0.09674
}Semantic roles & 50–950 ramp
primary
#5D5A0F
secondary
#313596
accent
#40EF39
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78