#8F8D30#8F8D30
#8F8D30 is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.7% C 0.114 H 108.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8D30 |
|---|---|
| RGB | rgb(143, 141, 48) |
| HSL | hsl(59, 50%, 37%) |
| HSV | hsv(59, 66%, 56%) |
| CMYK | cmyk(0%, 1.4%, 66.4%, 43.9%) |
| CIE-LAB | lab(57.18, -11.30, 47.94) |
| CIE-LCH | lch(57.18, 49.26, 103.26°) |
| OKLab | oklab(62.69% -0.0353 0.1082) |
| OKLCH | oklch(62.69% 0.114 108.1) |
| XYZ | xyz(21.3868, 25.1034, 6.5146) |
| Luminance | 0.2510 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 5.51
Baby Poop Green
#8F9805
ΔE00 5.57
Olive
#808000
ΔE00 5.70
Pea Soup
#929901
ΔE00 5.82
Drab
#828344
ΔE00 6.24
Dark Khaki
#9B8F55
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8D30 #30328F
analogous
#8F5E30 #8F8D30 #618F30
triadic
#8F8D30 #308F8D #8D308F
tetradic
#8F8D30 #308F5E #30328F #8F3061
square
#8F8D30 #308F5E #30328F #8F3061
split-complementary
#8F8D30 #30618F #5E308F
monochromatic
#333311 #616021 #8F8D30 #BDBA3F #CECC6C
Accessibility & contrast
On white
3.49
#8F8D30 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.02
#8F8D30 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8D30
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8D30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8D30 | 1.00 | 3.49 | 6.02 | 6.02 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988723
Deuteranopia (green-blind)
#9A8B36
Tritanopia (blue-blind)
#99847A
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8f8d30; /* rgb */ color: rgb(143, 141, 48); /* oklch */ color: oklch(62.7% 0.114 108.1);
Tailwind
colors: {
custom: {
50: '#b2ae6e',
500: '#8f8d30',
950: '#000000',
},
}SCSS
$custom: #8f8d30; $custom-light: #b2ae6e; $custom-dark: #000000;
JSON
{
"hex": "#8f8d30",
"rgb": {
"r": 143,
"g": 141,
"b": 48
},
"hsl": {
"h": 58.737,
"s": 49.738,
"l": 37.451
},
"oklch": {
"l": 0.62694,
"c": 0.11382,
"h": 108.1
},
"luminance": 0.25103
}Semantic roles & 50–950 ramp
primary
#8F8D30
secondary
#6668B5
accent
#51D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A