#898125#898125
#898125 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.3% C 0.110 H 104.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #898125 |
|---|---|
| RGB | rgb(137, 129, 37) |
| HSL | hsl(55, 57%, 34%) |
| HSV | hsv(55, 73%, 54%) |
| CMYK | cmyk(0%, 5.8%, 73%, 46.3%) |
| CIE-LAB | lab(53.12, -8.14, 48.23) |
| CIE-LCH | lch(53.12, 48.91, 99.58°) |
| OKLab | oklab(59.3% -0.0273 0.1071) |
| OKLCH | oklch(59.3% 0.11 104.3) |
| XYZ | xyz(18.5015, 21.1532, 4.8583) |
| Luminance | 0.2115 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.53
Baby Poop
#937C00
ΔE00 5.46
Drab
#828344
ΔE00 5.85
Shit Green
#758000
ΔE00 5.96
Hazel
#8E7618
ΔE00 6.07
Ugly Brown
#7D7103
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898125 #252D89
analogous
#894F25 #898125 #5F8925
triadic
#898125 #258981 #812589
tetradic
#898125 #25894F #252D89 #89255F
square
#898125 #25894F #252D89 #89255F
split-complementary
#898125 #255F89 #4F2589
monochromatic
#29260B #595418 #898125 #B9AE32 #D2C857
Accessibility & contrast
On white
4.01
#898125 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#898125 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898125
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898125 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898125 | 1.00 | 4.01 | 5.23 | 5.23 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C16
Deuteranopia (green-blind)
#8F812B
Tritanopia (blue-blind)
#93786F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #898125; /* rgb */ color: rgb(137, 129, 37); /* oklch */ color: oklch(59.3% 0.110 104.3);
Tailwind
colors: {
custom: {
50: '#afa566',
500: '#898125',
950: '#000000',
},
}SCSS
$custom: #898125; $custom-light: #afa566; $custom-dark: #000000;
JSON
{
"hex": "#898125",
"rgb": {
"r": 137,
"g": 129,
"b": 37
},
"hsl": {
"h": 55.2,
"s": 57.471,
"l": 34.118
},
"oklch": {
"l": 0.59304,
"c": 0.11047,
"h": 104.3
},
"luminance": 0.21152
}Semantic roles & 50–950 ramp
primary
#898125
secondary
#545CB6
accent
#53E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A