#898326#898326
#898326 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.8% C 0.112 H 105.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #898326 |
|---|---|
| RGB | rgb(137, 131, 38) |
| HSL | hsl(56, 57%, 34%) |
| HSV | hsv(56, 72%, 54%) |
| CMYK | cmyk(0%, 4.4%, 72.3%, 46.3%) |
| CIE-LAB | lab(53.70, -9.19, 48.40) |
| CIE-LCH | lch(53.70, 49.27, 100.74°) |
| OKLab | oklab(59.77% -0.0301 0.1076) |
| OKLCH | oklch(59.77% 0.112 105.6) |
| XYZ | xyz(18.7834, 21.6916, 5.0308) |
| Luminance | 0.2169 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.38
Shit Green
#758000
ΔE00 5.62
Drab
#828344
ΔE00 5.63
Baby Poop
#937C00
ΔE00 6.10
Swamp Green
#748500
ΔE00 6.52
Poop Green
#6F7C00
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898326 #262C89
analogous
#895226 #898326 #5E8926
triadic
#898326 #268983 #832689
tetradic
#898326 #268952 #262C89 #89265E
square
#898326 #268952 #262C89 #89265E
split-complementary
#898326 #265E89 #522689
monochromatic
#29270B #595519 #898326 #B9B133 #D1CA59
Accessibility & contrast
On white
3.93
#898326 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#898326 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898326
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898326 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898326 | 1.00 | 3.93 | 5.34 | 5.34 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E17
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#937A71
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #898326; /* rgb */ color: rgb(137, 131, 38); /* oklch */ color: oklch(59.8% 0.112 105.6);
Tailwind
colors: {
custom: {
50: '#aea667',
500: '#898326',
950: '#000000',
},
}SCSS
$custom: #898326; $custom-light: #aea667; $custom-dark: #000000;
JSON
{
"hex": "#898326",
"rgb": {
"r": 137,
"g": 131,
"b": 38
},
"hsl": {
"h": 56.364,
"s": 56.571,
"l": 34.314
},
"oklch": {
"l": 0.59769,
"c": 0.11173,
"h": 105.6
},
"luminance": 0.21691
}Semantic roles & 50–950 ramp
primary
#898326
secondary
#555BB6
accent
#51E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A