#8F931C#8F931C
#8F931C is a light, vivid yellow. Relative luminance 0.268; OKLCH L 63.9% C 0.133 H 111.6°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8F931C |
|---|---|
| RGB | rgb(143, 147, 28) |
| HSL | hsl(62, 68%, 34%) |
| HSV | hsv(62, 81%, 58%) |
| CMYK | cmyk(2.7%, 0%, 81%, 42.4%) |
| CIE-LAB | lab(58.78, -15.47, 56.78) |
| CIE-LCH | lch(58.78, 58.85, 105.24°) |
| OKLab | oklab(63.94% -0.0489 0.1233) |
| OKLCH | oklch(63.94% 0.133 111.6) |
| XYZ | xyz(21.9718, 26.7915, 5.1122) |
| Luminance | 0.2679 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 2.25
Pea Soup
#929901
ΔE00 2.56
Baby Shit Green
#889717
ΔE00 2.80
Ugly Green
#7A9703
ΔE00 5.75
Vomit
#A2A415
ΔE00 5.90
Vomit Green
#89A203
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F931C #201C93
analogous
#935C1C #8F931C #54931C
triadic
#8F931C #1C8F93 #931C8F
tetradic
#8F931C #1C935C #201C93 #931C54
square
#8F931C #1C935C #201C93 #931C54
split-complementary
#8F931C #1C5493 #5C1C93
monochromatic
#2B2C08 #5D6012 #8F931C #C1C626 #D8DD4C
Accessibility & contrast
On white
3.30
#8F931C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#8F931C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F931C
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F931C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F931C | 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)
#A08F27
Tritanopia (blue-blind)
#99897D
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8f931c; /* rgb */ color: rgb(143, 147, 28); /* oklch */ color: oklch(63.9% 0.133 111.6);
Tailwind
colors: {
custom: {
50: '#b3b264',
500: '#8f931c',
950: '#000000',
},
}SCSS
$custom: #8f931c; $custom-light: #b3b264; $custom-dark: #000000;
JSON
{
"hex": "#8f931c",
"rgb": {
"r": 143,
"g": 147,
"b": 28
},
"hsl": {
"h": 62.017,
"s": 68,
"l": 34.314
},
"oklch": {
"l": 0.63937,
"c": 0.13261,
"h": 111.6
},
"luminance": 0.26791
}Semantic roles & 50–950 ramp
primary
#8F931C
secondary
#4F4CBF
accent
#3DEB43
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A