#8F7F23#8F7F23
#8F7F23 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.4% C 0.110 H 99.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7F23 |
|---|---|
| RGB | rgb(143, 127, 35) |
| HSL | hsl(51, 61%, 35%) |
| HSV | hsv(51, 76%, 56%) |
| CMYK | cmyk(0%, 11.2%, 75.5%, 43.9%) |
| CIE-LAB | lab(53.10, -4.37, 49.20) |
| CIE-LCH | lch(53.10, 49.39, 95.08°) |
| OKLab | oklab(59.42% -0.0172 0.1085) |
| OKLCH | oklch(59.42% 0.11 99) |
| XYZ | xyz(19.2214, 21.1407, 4.6579) |
| Luminance | 0.2114 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.28
Hazel
#8E7618
ΔE00 3.91
Puke Brown
#947706
ΔE00 4.90
Diarrhea
#9F8303
ΔE00 5.09
Olive
#808000
ΔE00 5.43
Poo
#8F7303
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7F23 #23338F
analogous
#8F4923 #8F7F23 #698F23
triadic
#8F7F23 #238F7F #7F238F
tetradic
#8F7F23 #238F49 #23338F #8F2369
square
#8F7F23 #238F49 #23338F #8F2369
split-complementary
#8F7F23 #23698F #49238F
monochromatic
#2D280B #5E5317 #8F7F23 #C0AB2F #D6C357
Accessibility & contrast
On white
4.02
#8F7F23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#8F7F23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7F23
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7F23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7F23 | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C13
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#9B756D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8f7f23; /* rgb */ color: rgb(143, 127, 35); /* oklch */ color: oklch(59.4% 0.110 99.0);
Tailwind
colors: {
custom: {
50: '#b3a365',
500: '#8f7f23',
950: '#000000',
},
}SCSS
$custom: #8f7f23; $custom-light: #b3a365; $custom-dark: #000000;
JSON
{
"hex": "#8f7f23",
"rgb": {
"r": 143,
"g": 127,
"b": 35
},
"hsl": {
"h": 51.111,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.59424,
"c": 0.10982,
"h": 99
},
"luminance": 0.2114
}Semantic roles & 50–950 ramp
primary
#8F7F23
secondary
#5463BA
accent
#5CE444
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A