#898B25#898B25
#898B25 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.6% C 0.121 H 110.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #898B25 |
|---|---|
| RGB | rgb(137, 139, 37) |
| HSL | hsl(61, 58%, 35%) |
| HSV | hsv(61, 73%, 55%) |
| CMYK | cmyk(1.4%, 0%, 73.4%, 45.5%) |
| CIE-LAB | lab(56.01, -13.55, 51.03) |
| CIE-LCH | lch(56.01, 52.80, 104.87°) |
| OKLab | oklab(61.61% -0.0425 0.113) |
| OKLCH | oklch(61.61% 0.121 110.6) |
| XYZ | xyz(19.8838, 23.9177, 5.3191) |
| Luminance | 0.2392 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.42
Baby Shit Green
#889717
ΔE00 4.85
Swamp Green
#748500
ΔE00 5.17
Baby Poop Green
#8F9805
ΔE00 5.18
Shit Green
#758000
ΔE00 5.46
Pea Soup
#929901
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898B25 #27258B
analogous
#8B5A25 #898B25 #568B25
triadic
#898B25 #25898B #8B2589
tetradic
#898B25 #258B5A #27258B #8B2556
square
#898B25 #258B5A #27258B #8B2556
split-complementary
#898B25 #25568B #5A258B
monochromatic
#2A2A0B #595B18 #898B25 #B9BB32 #D0D358
Accessibility & contrast
On white
3.63
#898B25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#898B25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898B25
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898B25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898B25 | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968512
Deuteranopia (green-blind)
#97882D
Tritanopia (blue-blind)
#938277
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #898b25; /* rgb */ color: rgb(137, 139, 37); /* oklch */ color: oklch(61.6% 0.121 110.6);
Tailwind
colors: {
custom: {
50: '#afac67',
500: '#898b25',
950: '#000000',
},
}SCSS
$custom: #898b25; $custom-light: #afac67; $custom-dark: #000000;
JSON
{
"hex": "#898b25",
"rgb": {
"r": 137,
"g": 139,
"b": 37
},
"hsl": {
"h": 61.176,
"s": 57.955,
"l": 34.51
},
"oklch": {
"l": 0.61608,
"c": 0.1207,
"h": 110.6
},
"luminance": 0.23917
}Semantic roles & 50–950 ramp
primary
#898B25
secondary
#5755B7
accent
#47E14A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A