#898F1D#898F1D
#898F1D is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.5% C 0.130 H 112.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #898F1D |
|---|---|
| RGB | rgb(137, 143, 29) |
| HSL | hsl(63, 66%, 34%) |
| HSV | hsv(63, 80%, 56%) |
| CMYK | cmyk(4.2%, 0%, 79.7%, 43.9%) |
| CIE-LAB | lab(57.13, -16.02, 54.82) |
| CIE-LCH | lch(57.13, 57.11, 106.29°) |
| OKLab | oklab(62.49% -0.0501 0.1195) |
| OKLCH | oklch(62.49% 0.13 112.7) |
| XYZ | xyz(20.3614, 25.0525, 4.9252) |
| Luminance | 0.2505 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.11
Baby Poop Green
#8F9805
ΔE00 3.49
Pea Soup
#929901
ΔE00 4.00
Swamp Green
#748500
ΔE00 5.19
Ugly Green
#7A9703
ΔE00 5.41
Olive
#808000
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898F1D #231D8F
analogous
#8F5C1D #898F1D #508F1D
triadic
#898F1D #1D898F #8F1D89
tetradic
#898F1D #1D8F5C #231D8F #8F1D50
square
#898F1D #1D8F5C #231D8F #8F1D50
split-complementary
#898F1D #1D508F #5C1D8F
monochromatic
#282908 #585C13 #898F1D #BAC227 #D3DB4C
Accessibility & contrast
On white
3.49
#898F1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#898F1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898F1D
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898F1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898F1D | 1.00 | 3.49 | 6.01 | 6.01 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9B8A27
Tritanopia (blue-blind)
#93867A
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #898f1d; /* rgb */ color: rgb(137, 143, 29); /* oklch */ color: oklch(62.5% 0.130 112.7);
Tailwind
colors: {
custom: {
50: '#afaf64',
500: '#898f1d',
950: '#000000',
},
}SCSS
$custom: #898f1d; $custom-light: #afaf64; $custom-dark: #000000;
JSON
{
"hex": "#898f1d",
"rgb": {
"r": 137,
"g": 143,
"b": 29
},
"hsl": {
"h": 63.158,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.62491,
"c": 0.12957,
"h": 112.7
},
"luminance": 0.25052
}Semantic roles & 50–950 ramp
primary
#898F1D
secondary
#514BBD
accent
#3FE948
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A