#898A1B#898A1B
#898A1B is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.3% C 0.125 H 110.1°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #898A1B |
|---|---|
| RGB | rgb(137, 138, 27) |
| HSL | hsl(61, 67%, 32%) |
| HSV | hsv(61, 80%, 54%) |
| CMYK | cmyk(0.7%, 0%, 80.4%, 45.9%) |
| CIE-LAB | lab(55.66, -13.46, 54.13) |
| CIE-LCH | lch(55.66, 55.77, 103.97°) |
| OKLab | oklab(61.32% -0.0431 0.1176) |
| OKLCH | oklch(61.32% 0.125 110.1) |
| XYZ | xyz(19.6036, 23.5750, 4.5545) |
| Luminance | 0.2357 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.78
Baby Shit Green
#889717
ΔE00 5.05
Baby Poop Green
#8F9805
ΔE00 5.07
Swamp Green
#748500
ΔE00 5.08
Shit Green
#758000
ΔE00 5.20
Pea Soup
#929901
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898A1B #1C1B8A
analogous
#8A541B #898A1B #518A1B
triadic
#898A1B #1B898A #8A1B89
tetradic
#898A1B #1B8A54 #1C1B8A #8A1B51
square
#898A1B #1B8A54 #1C1B8A #8A1B51
split-complementary
#898A1B #1B518A #541B8A
monochromatic
#232407 #565711 #898A1B #BCBD25 #D9DB45
Accessibility & contrast
On white
3.67
#898A1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#898A1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898A1B
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898A1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898A1B | 1.00 | 3.67 | 5.71 | 5.71 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#938176
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #898a1b; /* rgb */ color: rgb(137, 138, 27); /* oklch */ color: oklch(61.3% 0.125 110.1);
Tailwind
colors: {
custom: {
50: '#afab62',
500: '#898a1b',
950: '#000000',
},
}SCSS
$custom: #898a1b; $custom-light: #afab62; $custom-dark: #000000;
JSON
{
"hex": "#898a1b",
"rgb": {
"r": 137,
"g": 138,
"b": 27
},
"hsl": {
"h": 60.541,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.61315,
"c": 0.12529,
"h": 110.1
},
"luminance": 0.23574
}Semantic roles & 50–950 ramp
primary
#898A1B
secondary
#4645BC
accent
#3EEA3F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A