#898528#898528
#898528 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.2% C 0.112 H 106.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #898528 |
|---|---|
| RGB | rgb(137, 133, 40) |
| HSL | hsl(58, 55%, 35%) |
| HSV | hsv(58, 71%, 54%) |
| CMYK | cmyk(0%, 2.9%, 70.8%, 46.3%) |
| CIE-LAB | lab(54.29, -10.16, 48.18) |
| CIE-LCH | lch(54.29, 49.24, 101.91°) |
| OKLab | oklab(60.24% -0.0326 0.1075) |
| OKLCH | oklch(60.24% 0.112 106.9) |
| XYZ | xyz(19.0878, 22.2473, 5.2958) |
| Luminance | 0.2225 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.55
Drab
#828344
ΔE00 5.42
Shit Green
#758000
ΔE00 5.46
Swamp Green
#748500
ΔE00 6.10
Poop Green
#6F7C00
ΔE00 6.83
Baby Poop
#937C00
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898528 #282C89
analogous
#895528 #898528 #5C8928
triadic
#898528 #288985 #852889
tetradic
#898528 #288955 #282C89 #89285C
square
#898528 #288955 #282C89 #89285C
split-complementary
#898528 #285C89 #552889
monochromatic
#2A290C #5A571A #898528 #B8B336 #CFCB5C
Accessibility & contrast
On white
3.85
#898528 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#898528 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898528
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898528 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898528 | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90801A
Deuteranopia (green-blind)
#92832E
Tritanopia (blue-blind)
#937C72
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #898528; /* rgb */ color: rgb(137, 133, 40); /* oklch */ color: oklch(60.2% 0.112 106.9);
Tailwind
colors: {
custom: {
50: '#aea868',
500: '#898528',
950: '#000000',
},
}SCSS
$custom: #898528; $custom-light: #aea868; $custom-dark: #000000;
JSON
{
"hex": "#898528",
"rgb": {
"r": 137,
"g": 133,
"b": 40
},
"hsl": {
"h": 57.526,
"s": 54.802,
"l": 34.706
},
"oklch": {
"l": 0.60244,
"c": 0.11236,
"h": 106.9
},
"luminance": 0.22247
}Semantic roles & 50–950 ramp
primary
#898528
secondary
#585CB5
accent
#50DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A