#5C5A0F#5C5A0F
#5C5A0F is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.5% C 0.091 H 107.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5A0F |
|---|---|
| RGB | rgb(92, 90, 15) |
| HSL | hsl(58, 72%, 21%) |
| HSV | hsv(58, 84%, 36%) |
| CMYK | cmyk(0%, 2.2%, 83.7%, 63.9%) |
| CIE-LAB | lab(37.16, -8.58, 39.96) |
| CIE-LCH | lch(37.16, 40.87, 102.12°) |
| OKLab | oklab(45.53% -0.0281 0.0869) |
| OKLCH | oklch(45.53% 0.091 107.9) |
| XYZ | xyz(8.1564, 9.6224, 1.8795) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Brown
#696112
ΔE00 3.62
Greeny Brown
#696006
ΔE00 3.99
Green Brown
#544E03
ΔE00 4.17
Mud Green
#606602
ΔE00 4.95
Olive Brown
#645403
ΔE00 5.38
Army Green
#4B5D16
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5A0F #0F115C
analogous
#5C330F #5C5A0F #375C0F
triadic
#5C5A0F #0F5C5A #5A0F5C
tetradic
#5C5A0F #0F5C33 #0F115C #5C0F37
square
#5C5A0F #0F5C33 #0F115C #5C0F37
split-complementary
#5C5A0F #0F375C #330F5C
monochromatic
#1A1A04 #272706 #5C5A0F #918D18 #C5C120
Accessibility & contrast
On white
7.18
#5C5A0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#5C5A0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C5A0F
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5A0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5A0F | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#645915
Tritanopia (blue-blind)
#63534C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #5c5a0f; /* rgb */ color: rgb(92, 90, 15); /* oklch */ color: oklch(45.5% 0.091 107.9);
Tailwind
colors: {
custom: {
50: '#8d8855',
500: '#5c5a0f',
950: '#000000',
},
}SCSS
$custom: #5c5a0f; $custom-light: #8d8855; $custom-dark: #000000;
JSON
{
"hex": "#5c5a0f",
"rgb": {
"r": 92,
"g": 90,
"b": 15
},
"hsl": {
"h": 58.442,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.4553,
"c": 0.09136,
"h": 107.9
},
"luminance": 0.09622
}Semantic roles & 50–950 ramp
primary
#5C5A0F
secondary
#313495
accent
#3EEF39
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B03
muted
#7D7C78