#898F12#898F12
#898F12 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.4% C 0.134 H 112.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #898F12 |
|---|---|
| RGB | rgb(137, 143, 18) |
| HSL | hsl(63, 78%, 32%) |
| HSV | hsv(63, 87%, 56%) |
| CMYK | cmyk(4.2%, 0%, 87.4%, 43.9%) |
| CIE-LAB | lab(57.08, -16.39, 57.73) |
| CIE-LCH | lch(57.08, 60.01, 105.85°) |
| OKLab | oklab(62.44% -0.0518 0.1238) |
| OKLCH | oklch(62.44% 0.134 112.7) |
| XYZ | xyz(20.2489, 25.0075, 4.3324) |
| Luminance | 0.2501 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.10
Baby Poop Green
#8F9805
ΔE00 3.12
Pea Soup
#929901
ΔE00 3.60
Swamp Green
#748500
ΔE00 5.22
Olive
#808000
ΔE00 5.33
Ugly Green
#7A9703
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#898F12 #18128F
analogous
#8F5712 #898F12 #4B8F12
triadic
#898F12 #12898F #8F1289
tetradic
#898F12 #128F57 #18128F #8F124B
square
#898F12 #128F57 #18128F #8F124B
split-complementary
#898F12 #124B8F #57128F
monochromatic
#212204 #55590B #898F12 #BDC519 #DDE636
Accessibility & contrast
On white
3.50
#898F12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#898F12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #898F12
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##898F12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##898F12 | 1.00 | 3.50 | 6.00 | 6.00 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9B8A20
Tritanopia (blue-blind)
#93867A
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #898f12; /* rgb */ color: rgb(137, 143, 18); /* oklch */ color: oklch(62.4% 0.134 112.7);
Tailwind
colors: {
custom: {
50: '#afaf60',
500: '#898f12',
950: '#000000',
},
}SCSS
$custom: #898f12; $custom-light: #afaf60; $custom-dark: #000000;
JSON
{
"hex": "#898f12",
"rgb": {
"r": 137,
"g": 143,
"b": 18
},
"hsl": {
"h": 62.88,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.62442,
"c": 0.13422,
"h": 112.7
},
"luminance": 0.25007
}Semantic roles & 50–950 ramp
primary
#898F12
secondary
#403AC3
accent
#34F43D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A