#8F931F#8F931F
#8F931F is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.0% C 0.131 H 111.6°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8F931F |
|---|---|
| RGB | rgb(143, 147, 31) |
| HSL | hsl(62, 65%, 35%) |
| HSV | hsv(62, 79%, 58%) |
| CMYK | cmyk(2.7%, 0%, 78.9%, 42.4%) |
| CIE-LAB | lab(58.79, -15.35, 55.88) |
| CIE-LCH | lch(58.79, 57.95, 105.36°) |
| OKLab | oklab(63.95% -0.0484 0.1219) |
| OKLCH | oklch(63.95% 0.131 111.6) |
| XYZ | xyz(22.0095, 26.8066, 5.3108) |
| Luminance | 0.2681 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 2.41
Pea Soup
#929901
ΔE00 2.74
Baby Shit Green
#889717
ΔE00 2.80
Ugly Green
#7A9703
ΔE00 5.75
Vomit
#A2A415
ΔE00 5.99
Vomit Green
#89A203
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F931F #231F93
analogous
#935D1F #8F931F #55931F
triadic
#8F931F #1F8F93 #931F8F
tetradic
#8F931F #1F935D #231F93 #931F55
square
#8F931F #1F935D #231F93 #931F55
split-complementary
#8F931F #1F5593 #5D1F93
monochromatic
#2D2E0A #5E6014 #8F931F #C0C62A #D6DA52
Accessibility & contrast
On white
3.30
#8F931F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#8F931F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F931F
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F931F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F931F | 1.00 | 3.30 | 6.36 | 6.36 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9F8F29
Tritanopia (blue-blind)
#99897E
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8f931f; /* rgb */ color: rgb(143, 147, 31); /* oklch */ color: oklch(64.0% 0.131 111.6);
Tailwind
colors: {
custom: {
50: '#b3b266',
500: '#8f931f',
950: '#000000',
},
}SCSS
$custom: #8f931f; $custom-light: #b3b266; $custom-dark: #000000;
JSON
{
"hex": "#8f931f",
"rgb": {
"r": 143,
"g": 147,
"b": 31
},
"hsl": {
"h": 62.069,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.63952,
"c": 0.13114,
"h": 111.6
},
"luminance": 0.26806
}Semantic roles & 50–950 ramp
primary
#8F931F
secondary
#5450BE
accent
#40E845
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A