#8F8823#8F8823
#8F8823 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.5% C 0.118 H 105.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8823 |
|---|---|
| RGB | rgb(143, 136, 35) |
| HSL | hsl(56, 61%, 35%) |
| HSV | hsv(56, 76%, 56%) |
| CMYK | cmyk(0%, 4.9%, 75.5%, 43.9%) |
| CIE-LAB | lab(55.65, -9.32, 51.62) |
| CIE-LCH | lch(55.65, 52.46, 100.23°) |
| OKLab | oklab(61.45% -0.0311 0.1136) |
| OKLCH | oklch(61.45% 0.118 105.3) |
| XYZ | xyz(20.4361, 23.5701, 5.0628) |
| Luminance | 0.2357 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.29
Baby Poop
#937C00
ΔE00 6.23
Baby Poop Green
#8F9805
ΔE00 6.63
Shit Green
#758000
ΔE00 6.66
Pea Soup
#929901
ΔE00 6.76
Diarrhea
#9F8303
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8823 #232A8F
analogous
#8F5223 #8F8823 #608F23
triadic
#8F8823 #238F88 #88238F
tetradic
#8F8823 #238F52 #232A8F #8F2360
square
#8F8823 #238F52 #232A8F #8F2360
split-complementary
#8F8823 #23608F #52238F
monochromatic
#2D2A0B #5E5917 #8F8823 #C0B72F #D6CE57
Accessibility & contrast
On white
3.68
#8F8823 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#8F8823 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8823
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8823 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8823 | 1.00 | 3.68 | 5.71 | 5.71 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94830F
Deuteranopia (green-blind)
#97872A
Tritanopia (blue-blind)
#9A7E75
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8f8823; /* rgb */ color: rgb(143, 136, 35); /* oklch */ color: oklch(61.5% 0.118 105.3);
Tailwind
colors: {
custom: {
50: '#b3aa66',
500: '#8f8823',
950: '#000000',
},
}SCSS
$custom: #8f8823; $custom-light: #b3aa66; $custom-dark: #000000;
JSON
{
"hex": "#8f8823",
"rgb": {
"r": 143,
"g": 136,
"b": 35
},
"hsl": {
"h": 56.111,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.61452,
"c": 0.11781,
"h": 105.3
},
"luminance": 0.23569
}Semantic roles & 50–950 ramp
primary
#8F8823
secondary
#545BBA
accent
#4EE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A