#5A5A0F#5A5A0F
#5A5A0F is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.3% C 0.092 H 109.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5A0F |
|---|---|
| RGB | rgb(90, 90, 15) |
| HSL | hsl(60, 71%, 21%) |
| HSV | hsv(60, 83%, 35%) |
| CMYK | cmyk(0%, 0%, 83.3%, 64.7%) |
| CIE-LAB | lab(36.97, -9.56, 39.72) |
| CIE-LCH | lch(36.97, 40.86, 103.54°) |
| OKLab | oklab(45.33% -0.0307 0.0865) |
| OKLCH | oklch(45.33% 0.092 109.6) |
| XYZ | xyz(7.9591, 9.5207, 1.8703) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Brown
#696112
ΔE00 4.16
Green Brown
#544E03
ΔE00 4.37
Greeny Brown
#696006
ΔE00 4.56
Mud Green
#606602
ΔE00 4.80
Army Green
#4B5D16
ΔE00 5.93
Olive Brown
#645403
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5A0F #0F0F5A
analogous
#5A340F #5A5A0F #345A0F
triadic
#5A5A0F #0F5A5A #5A0F5A
tetradic
#5A5A0F #0F5A34 #0F0F5A #5A0F34
square
#5A5A0F #0F5A34 #0F0F5A #5A0F34
split-complementary
#5A5A0F #0F345A #340F5A
monochromatic
#1A1A04 #262606 #5A5A0F #8E8E18 #C3C320
Accessibility & contrast
On white
7.23
#5A5A0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#5A5A0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A5A0F
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5A0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5A0F | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#635816
Tritanopia (blue-blind)
#61544C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #5a5a0f; /* rgb */ color: rgb(90, 90, 15); /* oklch */ color: oklch(45.3% 0.092 109.6);
Tailwind
colors: {
custom: {
50: '#8c8855',
500: '#5a5a0f',
950: '#000000',
},
}SCSS
$custom: #5a5a0f; $custom-light: #8c8855; $custom-dark: #000000;
JSON
{
"hex": "#5a5a0f",
"rgb": {
"r": 90,
"g": 90,
"b": 15
},
"hsl": {
"h": 60,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.45334,
"c": 0.09181,
"h": 109.6
},
"luminance": 0.0952
}Semantic roles & 50–950 ramp
primary
#5A5A0F
secondary
#313194
accent
#3AEE3A
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78