#898B26#898B26
#898B26 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.6% C 0.120 H 110.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #898B26 |
|---|---|
| RGB | rgb(137, 139, 38) |
| HSL | hsl(61, 57%, 35%) |
| HSV | hsv(61, 73%, 55%) |
| CMYK | cmyk(1.4%, 0%, 72.7%, 45.5%) |
| CIE-LAB | lab(56.01, -13.50, 50.66) |
| CIE-LCH | lch(56.01, 52.43, 104.92°) |
| OKLab | oklab(61.61% -0.0422 0.1124) |
| OKLCH | oklch(61.61% 0.12 110.6) |
| XYZ | xyz(19.8997, 23.9241, 5.4029) |
| Luminance | 0.2392 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.48
Baby Shit Green
#889717
ΔE00 4.89
Swamp Green
#748500
ΔE00 5.20
Baby Poop Green
#8F9805
ΔE00 5.24
Shit Green
#758000
ΔE00 5.49
Pea Soup
#929901
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898B26 #28268B
analogous
#8B5B26 #898B26 #578B26
triadic
#898B26 #26898B #8B2689
tetradic
#898B26 #268B5B #28268B #8B2657
square
#898B26 #268B5B #28268B #8B2657
split-complementary
#898B26 #26578B #5B268B
monochromatic
#2A2B0C #5A5B19 #898B26 #B8BB33 #CFD25A
Accessibility & contrast
On white
3.63
#898B26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#898B26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898B26
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898B26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898B26 | 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)
#968514
Deuteranopia (green-blind)
#97882E
Tritanopia (blue-blind)
#938277
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #898b26; /* rgb */ color: rgb(137, 139, 38); /* oklch */ color: oklch(61.6% 0.120 110.6);
Tailwind
colors: {
custom: {
50: '#aeac68',
500: '#898b26',
950: '#000000',
},
}SCSS
$custom: #898b26; $custom-light: #aeac68; $custom-dark: #000000;
JSON
{
"hex": "#898b26",
"rgb": {
"r": 137,
"g": 139,
"b": 38
},
"hsl": {
"h": 61.188,
"s": 57.062,
"l": 34.706
},
"oklch": {
"l": 0.61615,
"c": 0.12005,
"h": 110.6
},
"luminance": 0.23924
}Semantic roles & 50–950 ramp
primary
#898B26
secondary
#5856B7
accent
#47E04B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A