#8D901F#8D901F
#8D901F is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.1% C 0.129 H 111.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8D901F |
|---|---|
| RGB | rgb(141, 144, 31) |
| HSL | hsl(62, 65%, 34%) |
| HSV | hsv(62, 78%, 56%) |
| CMYK | cmyk(2.1%, 0%, 78.5%, 43.5%) |
| CIE-LAB | lab(57.76, -14.67, 54.88) |
| CIE-LCH | lch(57.76, 56.81, 104.97°) |
| OKLab | oklab(63.08% -0.0464 0.1199) |
| OKLCH | oklch(63.08% 0.129 111.2) |
| XYZ | xyz(21.2058, 25.7087, 5.1413) |
| Luminance | 0.2571 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.27
Baby Shit Green
#889717
ΔE00 3.42
Pea Soup
#929901
ΔE00 3.62
Olive
#808000
ΔE00 5.75
Ugly Green
#7A9703
ΔE00 6.08
Swamp Green
#748500
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D901F #221F90
analogous
#905B1F #8D901F #55901F
triadic
#8D901F #1F8D90 #901F8D
tetradic
#8D901F #1F905B #221F90 #901F55
square
#8D901F #1F905B #221F90 #901F55
split-complementary
#8D901F #1F5590 #5B1F90
monochromatic
#2A2B09 #5C5E14 #8D901F #BEC22A #D6D950
Accessibility & contrast
On white
3.42
#8D901F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#8D901F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D901F
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D901F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D901F | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9C8C29
Tritanopia (blue-blind)
#97877B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #8d901f; /* rgb */ color: rgb(141, 144, 31); /* oklch */ color: oklch(63.1% 0.129 111.2);
Tailwind
colors: {
custom: {
50: '#b2b065',
500: '#8d901f',
950: '#000000',
},
}SCSS
$custom: #8d901f; $custom-light: #b2b065; $custom-dark: #000000;
JSON
{
"hex": "#8d901f",
"rgb": {
"r": 141,
"g": 144,
"b": 31
},
"hsl": {
"h": 61.593,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.63083,
"c": 0.12851,
"h": 111.2
},
"luminance": 0.25708
}Semantic roles & 50–950 ramp
primary
#8D901F
secondary
#514EBC
accent
#40E845
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A