#8F8730#8F8730
#8F8730 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.3% C 0.108 H 104.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8730 |
|---|---|
| RGB | rgb(143, 135, 48) |
| HSL | hsl(55, 50%, 37%) |
| HSV | hsv(55, 66%, 56%) |
| CMYK | cmyk(0%, 5.6%, 66.4%, 43.9%) |
| CIE-LAB | lab(55.46, -8.05, 46.15) |
| CIE-LCH | lch(55.46, 46.85, 99.90°) |
| OKLab | oklab(61.33% -0.0261 0.1044) |
| OKLCH | oklch(61.33% 0.108 104.1) |
| XYZ | xyz(20.5260, 23.3818, 6.2277) |
| Luminance | 0.2338 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.12
Drab
#828344
ΔE00 5.57
Dark Khaki
#9B8F55
ΔE00 6.31
Baby Poop
#937C00
ΔE00 6.51
Diarrhea
#9F8303
ΔE00 7.15
Shit Green
#758000
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8730 #30388F
analogous
#8F5730 #8F8730 #688F30
triadic
#8F8730 #308F87 #87308F
tetradic
#8F8730 #308F57 #30388F #8F3068
square
#8F8730 #308F57 #30388F #8F3068
split-complementary
#8F8730 #30688F #57308F
monochromatic
#333011 #615C21 #8F8730 #BDB23F #CEC56C
Accessibility & contrast
On white
3.70
#8F8730 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#8F8730 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8730
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8730 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8730 | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938225
Deuteranopia (green-blind)
#958735
Tritanopia (blue-blind)
#9A7E75
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8f8730; /* rgb */ color: rgb(143, 135, 48); /* oklch */ color: oklch(61.3% 0.108 104.1);
Tailwind
colors: {
custom: {
50: '#b3a96d',
500: '#8f8730',
950: '#000000',
},
}SCSS
$custom: #8f8730; $custom-light: #b3a96d; $custom-dark: #000000;
JSON
{
"hex": "#8f8730",
"rgb": {
"r": 143,
"g": 135,
"b": 48
},
"hsl": {
"h": 54.947,
"s": 49.738,
"l": 37.451
},
"oklch": {
"l": 0.6133,
"c": 0.10764,
"h": 104.1
},
"luminance": 0.23381
}Semantic roles & 50–950 ramp
primary
#8F8730
secondary
#666DB5
accent
#5AD94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A