#8F8A28#8F8A28
#8F8A28 is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 61.9% C 0.117 H 106.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8A28 |
|---|---|
| RGB | rgb(143, 138, 40) |
| HSL | hsl(57, 56%, 36%) |
| HSV | hsv(57, 72%, 56%) |
| CMYK | cmyk(0%, 3.5%, 72%, 43.9%) |
| CIE-LAB | lab(56.26, -10.15, 50.31) |
| CIE-LCH | lch(56.26, 51.32, 101.41°) |
| OKLab | oklab(61.94% -0.033 0.1118) |
| OKLCH | oklch(61.94% 0.117 106.4) |
| XYZ | xyz(20.8000, 24.1705, 5.5768) |
| Luminance | 0.2417 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.73
Baby Poop Green
#8F9805
ΔE00 6.08
Pea Soup
#929901
ΔE00 6.25
Baby Shit Green
#889717
ΔE00 6.33
Drab
#828344
ΔE00 6.63
Shit Green
#758000
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8A28 #282D8F
analogous
#8F5628 #8F8A28 #608F28
triadic
#8F8A28 #288F8A #8A288F
tetradic
#8F8A28 #288F56 #282D8F #8F2860
square
#8F8A28 #288F56 #282D8F #8F2860
split-complementary
#8F8A28 #28608F #56288F
monochromatic
#2F2E0D #5F5C1B #8F8A28 #BFB835 #D2CD5F
Accessibility & contrast
On white
3.60
#8F8A28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#8F8A28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8A28
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8A28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8A28 | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968518
Deuteranopia (green-blind)
#98892F
Tritanopia (blue-blind)
#9A8177
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8f8a28; /* rgb */ color: rgb(143, 138, 40); /* oklch */ color: oklch(61.9% 0.117 106.4);
Tailwind
colors: {
custom: {
50: '#b3ab69',
500: '#8f8a28',
950: '#000000',
},
}SCSS
$custom: #8f8a28; $custom-light: #b3ab69; $custom-dark: #000000;
JSON
{
"hex": "#8f8a28",
"rgb": {
"r": 143,
"g": 138,
"b": 40
},
"hsl": {
"h": 57.087,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.61943,
"c": 0.11655,
"h": 106.4
},
"luminance": 0.2417
}Semantic roles & 50–950 ramp
primary
#8F8A28
secondary
#5B60B8
accent
#50E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A