#8B901F#8B901F
#8B901F is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.9% C 0.129 H 112.2°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8B901F |
|---|---|
| RGB | rgb(139, 144, 31) |
| HSL | hsl(63, 65%, 34%) |
| HSV | hsv(63, 78%, 56%) |
| CMYK | cmyk(3.5%, 0%, 78.5%, 43.5%) |
| CIE-LAB | lab(57.59, -15.57, 54.67) |
| CIE-LCH | lch(57.59, 56.84, 105.90°) |
| OKLab | oklab(62.91% -0.0487 0.1195) |
| OKLCH | oklch(62.91% 0.129 112.2) |
| XYZ | xyz(20.8687, 25.5349, 5.1255) |
| Luminance | 0.2553 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.06
Baby Poop Green
#8F9805
ΔE00 3.25
Pea Soup
#929901
ΔE00 3.70
Ugly Green
#7A9703
ΔE00 5.58
Swamp Green
#748500
ΔE00 5.68
Olive
#808000
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B901F #241F90
analogous
#905D1F #8B901F #53901F
triadic
#8B901F #1F8B90 #901F8B
tetradic
#8B901F #1F905D #241F90 #901F53
square
#8B901F #1F905D #241F90 #901F53
split-complementary
#8B901F #1F5390 #5D1F90
monochromatic
#2A2B09 #5A5E14 #8B901F #BCC22A #D3D950
Accessibility & contrast
On white
3.44
#8B901F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#8B901F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B901F
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B901F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B901F | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#9C8C29
Tritanopia (blue-blind)
#95877B
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8b901f; /* rgb */ color: rgb(139, 144, 31); /* oklch */ color: oklch(62.9% 0.129 112.2);
Tailwind
colors: {
custom: {
50: '#b0b065',
500: '#8b901f',
950: '#000000',
},
}SCSS
$custom: #8b901f; $custom-light: #b0b065; $custom-dark: #000000;
JSON
{
"hex": "#8b901f",
"rgb": {
"r": 139,
"g": 144,
"b": 31
},
"hsl": {
"h": 62.655,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.62909,
"c": 0.12904,
"h": 112.2
},
"luminance": 0.25534
}Semantic roles & 50–950 ramp
primary
#8B901F
secondary
#534EBC
accent
#40E848
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A