#8F8F27#8F8F27
#8F8F27 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.1% C 0.122 H 109.4°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8F27 |
|---|---|
| RGB | rgb(143, 143, 39) |
| HSL | hsl(60, 57%, 36%) |
| HSV | hsv(60, 73%, 56%) |
| CMYK | cmyk(0%, 0%, 72.7%, 43.9%) |
| CIE-LAB | lab(57.69, -12.88, 52.08) |
| CIE-LCH | lch(57.69, 53.65, 103.89°) |
| OKLab | oklab(63.08% -0.0407 0.1154) |
| OKLCH | oklch(63.08% 0.122 109.4) |
| XYZ | xyz(21.5171, 25.6317, 5.7330) |
| Luminance | 0.2563 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.19
Baby Shit Green
#889717
ΔE00 4.35
Pea Soup
#929901
ΔE00 4.44
Olive
#808000
ΔE00 5.71
Swamp Green
#748500
ΔE00 6.56
Ugly Green
#7A9703
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8F27 #27278F
analogous
#8F5B27 #8F8F27 #5B8F27
triadic
#8F8F27 #278F8F #8F278F
tetradic
#8F8F27 #278F5B #27278F #8F275B
square
#8F8F27 #278F5B #27278F #8F275B
split-complementary
#8F8F27 #275B8F #5B278F
monochromatic
#2F2F0D #5F5F1A #8F8F27 #BFBF34 #D3D35D
Accessibility & contrast
On white
3.43
#8F8F27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#8F8F27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8F27
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8F27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8F27 | 1.00 | 3.43 | 6.13 | 6.13 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8914
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#99867B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #8f8f27; /* rgb */ color: rgb(143, 143, 39); /* oklch */ color: oklch(63.1% 0.122 109.4);
Tailwind
colors: {
custom: {
50: '#b3af69',
500: '#8f8f27',
950: '#000000',
},
}SCSS
$custom: #8f8f27; $custom-light: #b3af69; $custom-dark: #000000;
JSON
{
"hex": "#8f8f27",
"rgb": {
"r": 143,
"g": 143,
"b": 39
},
"hsl": {
"h": 60,
"s": 57.143,
"l": 35.686
},
"oklch": {
"l": 0.6308,
"c": 0.12233,
"h": 109.4
},
"luminance": 0.25631
}Semantic roles & 50–950 ramp
primary
#8F8F27
secondary
#5A5AB8
accent
#47E047
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A