#8F8423#8F8423
#8F8423 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.5% C 0.114 H 102.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8423 |
|---|---|
| RGB | rgb(143, 132, 35) |
| HSL | hsl(54, 61%, 35%) |
| HSV | hsv(54, 76%, 56%) |
| CMYK | cmyk(0%, 7.7%, 75.5%, 43.9%) |
| CIE-LAB | lab(54.52, -7.13, 50.54) |
| CIE-LCH | lch(54.52, 51.05, 98.03°) |
| OKLab | oklab(60.55% -0.025 0.1113) |
| OKLCH | oklch(60.55% 0.114 102.7) |
| XYZ | xyz(19.8832, 22.4644, 4.8785) |
| Luminance | 0.2246 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.37
Baby Poop
#937C00
ΔE00 4.76
Diarrhea
#9F8303
ΔE00 5.77
Hazel
#8E7618
ΔE00 6.11
Puke Brown
#947706
ΔE00 6.89
Drab
#828344
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8423 #232E8F
analogous
#8F4E23 #8F8423 #648F23
triadic
#8F8423 #238F84 #84238F
tetradic
#8F8423 #238F4E #232E8F #8F2364
square
#8F8423 #238F4E #232E8F #8F2364
split-complementary
#8F8423 #23648F #4E238F
monochromatic
#2D290B #5E5717 #8F8423 #C0B12F #D6C957
Accessibility & contrast
On white
3.82
#8F8423 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#8F8423 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8423
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8423 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8423 | 1.00 | 3.82 | 5.49 | 5.49 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918011
Deuteranopia (green-blind)
#94852A
Tritanopia (blue-blind)
#9A7A71
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8f8423; /* rgb */ color: rgb(143, 132, 35); /* oklch */ color: oklch(60.5% 0.114 102.7);
Tailwind
colors: {
custom: {
50: '#b3a766',
500: '#8f8423',
950: '#000000',
},
}SCSS
$custom: #8f8423; $custom-light: #b3a766; $custom-dark: #000000;
JSON
{
"hex": "#8f8423",
"rgb": {
"r": 143,
"g": 132,
"b": 35
},
"hsl": {
"h": 53.889,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.60546,
"c": 0.1141,
"h": 102.7
},
"luminance": 0.22464
}Semantic roles & 50–950 ramp
primary
#8F8423
secondary
#545EBA
accent
#54E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A