#8F8F2A#8F8F2A
#8F8F2A is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.1% C 0.120 H 109.4°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8F2A |
|---|---|
| RGB | rgb(143, 143, 42) |
| HSL | hsl(60, 55%, 36%) |
| HSV | hsv(60, 71%, 56%) |
| CMYK | cmyk(0%, 0%, 70.6%, 43.9%) |
| CIE-LAB | lab(57.71, -12.72, 50.95) |
| CIE-LCH | lch(57.71, 52.51, 104.02°) |
| OKLab | oklab(63.1% -0.04 0.1135) |
| OKLCH | oklch(63.1% 0.12 109.4) |
| XYZ | xyz(21.5688, 25.6524, 6.0053) |
| Luminance | 0.2565 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.41
Baby Shit Green
#889717
ΔE00 4.46
Pea Soup
#929901
ΔE00 4.67
Olive
#808000
ΔE00 5.82
Swamp Green
#748500
ΔE00 6.62
Shit Green
#758000
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8F2A #2A2A8F
analogous
#8F5D2A #8F8F2A #5D8F2A
triadic
#8F8F2A #2A8F8F #8F2A8F
tetradic
#8F8F2A #2A8F5D #2A2A8F #8F2A5D
square
#8F8F2A #2A8F5D #2A2A8F #8F2A5D
split-complementary
#8F8F2A #2A5D8F #5D2A8F
monochromatic
#30300E #60601C #8F8F2A #BEBE38 #D1D162
Accessibility & contrast
On white
3.43
#8F8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#8F8F2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8F2A
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8F2A | 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)
#9B891A
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#99867B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #8f8f2a; /* rgb */ color: rgb(143, 143, 42); /* oklch */ color: oklch(63.1% 0.120 109.4);
Tailwind
colors: {
custom: {
50: '#b3af6a',
500: '#8f8f2a',
950: '#000000',
},
}SCSS
$custom: #8f8f2a; $custom-light: #b3af6a; $custom-dark: #000000;
JSON
{
"hex": "#8f8f2a",
"rgb": {
"r": 143,
"g": 143,
"b": 42
},
"hsl": {
"h": 60,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.63102,
"c": 0.12034,
"h": 109.4
},
"luminance": 0.25652
}Semantic roles & 50–950 ramp
primary
#8F8F2A
secondary
#5E5EB7
accent
#4ADE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A