#8F8123#8F8123
#8F8123 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.9% C 0.111 H 100.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8123 |
|---|---|
| RGB | rgb(143, 129, 35) |
| HSL | hsl(52, 61%, 35%) |
| HSV | hsv(52, 76%, 56%) |
| CMYK | cmyk(0%, 9.8%, 75.5%, 43.9%) |
| CIE-LAB | lab(53.67, -5.48, 49.74) |
| CIE-LCH | lch(53.67, 50.04, 96.29°) |
| OKLab | oklab(59.87% -0.0203 0.1096) |
| OKLCH | oklch(59.87% 0.111 100.5) |
| XYZ | xyz(19.4822, 21.6624, 4.7448) |
| Luminance | 0.2166 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.79
Hazel
#8E7618
ΔE00 4.79
Olive
#808000
ΔE00 4.89
Diarrhea
#9F8303
ΔE00 5.26
Puke Brown
#947706
ΔE00 5.68
Yellowish Brown
#9B7A01
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8123 #23318F
analogous
#8F4B23 #8F8123 #678F23
triadic
#8F8123 #238F81 #81238F
tetradic
#8F8123 #238F4B #23318F #8F2367
square
#8F8123 #238F4B #23318F #8F2367
split-complementary
#8F8123 #23678F #4B238F
monochromatic
#2D280B #5E5517 #8F8123 #C0AD2F #D6C557
Accessibility & contrast
On white
3.94
#8F8123 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#8F8123 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8123
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8123 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8123 | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D12
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#9A776F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8f8123; /* rgb */ color: rgb(143, 129, 35); /* oklch */ color: oklch(59.9% 0.111 100.5);
Tailwind
colors: {
custom: {
50: '#b3a565',
500: '#8f8123',
950: '#000000',
},
}SCSS
$custom: #8f8123; $custom-light: #b3a565; $custom-dark: #000000;
JSON
{
"hex": "#8f8123",
"rgb": {
"r": 143,
"g": 129,
"b": 35
},
"hsl": {
"h": 52.222,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.59872,
"c": 0.11148,
"h": 100.5
},
"luminance": 0.21662
}Semantic roles & 50–950 ramp
primary
#8F8123
secondary
#5461BA
accent
#59E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A