#8F8925#8F8925
#8F8925 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.118 H 105.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8925 |
|---|---|
| RGB | rgb(143, 137, 37) |
| HSL | hsl(57, 59%, 35%) |
| HSV | hsv(57, 74%, 56%) |
| CMYK | cmyk(0%, 4.2%, 74.1%, 43.9%) |
| CIE-LAB | lab(55.95, -9.76, 51.17) |
| CIE-LCH | lch(55.95, 52.09, 100.80°) |
| OKLab | oklab(61.69% -0.0322 0.113) |
| OKLCH | oklch(61.69% 0.118 105.9) |
| XYZ | xyz(20.6081, 23.8653, 5.2708) |
| Luminance | 0.2387 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.47
Baby Poop Green
#8F9805
ΔE00 6.31
Pea Soup
#929901
ΔE00 6.46
Baby Shit Green
#889717
ΔE00 6.65
Shit Green
#758000
ΔE00 6.66
Baby Poop
#937C00
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8925 #252B8F
analogous
#8F5425 #8F8925 #608F25
triadic
#8F8925 #258F89 #89258F
tetradic
#8F8925 #258F54 #252B8F #8F2560
square
#8F8925 #258F54 #252B8F #8F2560
split-complementary
#8F8925 #25608F #54258F
monochromatic
#2E2C0C #5E5A18 #8F8925 #C0B832 #D4CD5A
Accessibility & contrast
On white
3.64
#8F8925 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#8F8925 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8925
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8925 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8925 | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958413
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#9A8076
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8f8925; /* rgb */ color: rgb(143, 137, 37); /* oklch */ color: oklch(61.7% 0.118 105.9);
Tailwind
colors: {
custom: {
50: '#b3ab67',
500: '#8f8925',
950: '#000000',
},
}SCSS
$custom: #8f8925; $custom-light: #b3ab67; $custom-dark: #000000;
JSON
{
"hex": "#8f8925",
"rgb": {
"r": 143,
"g": 137,
"b": 37
},
"hsl": {
"h": 56.604,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.61693,
"c": 0.11752,
"h": 105.9
},
"luminance": 0.23865
}Semantic roles & 50–950 ramp
primary
#8F8925
secondary
#575CB9
accent
#4FE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A