#8F7D22#8F7D22
#8F7D22 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 59.0% C 0.109 H 97.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7D22 |
|---|---|
| RGB | rgb(143, 125, 34) |
| HSL | hsl(50, 62%, 35%) |
| HSV | hsv(50, 76%, 56%) |
| CMYK | cmyk(0%, 12.6%, 76.2%, 43.9%) |
| CIE-LAB | lab(52.53, -3.31, 49.04) |
| CIE-LCH | lch(52.53, 49.15, 93.86°) |
| OKLab | oklab(58.97% -0.0143 0.1079) |
| OKLCH | oklch(58.97% 0.109 97.5) |
| XYZ | xyz(18.9510, 20.6233, 4.4956) |
| Luminance | 0.2062 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.89
Hazel
#8E7618
ΔE00 3.02
Puke Brown
#947706
ΔE00 4.12
Poo
#8F7303
ΔE00 4.72
Diarrhea
#9F8303
ΔE00 5.02
Yellowish Brown
#9B7A01
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7D22 #22348F
analogous
#8F4722 #8F7D22 #6A8F22
triadic
#8F7D22 #228F7D #7D228F
tetradic
#8F7D22 #228F47 #22348F #8F226A
square
#8F7D22 #228F47 #22348F #8F226A
split-complementary
#8F7D22 #226A8F #47228F
monochromatic
#2C270A #5E5216 #8F7D22 #C0A82E #D7C155
Accessibility & contrast
On white
4.10
#8F7D22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#8F7D22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7D22
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7D22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7D22 | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A12
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#9B736B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8f7d22; /* rgb */ color: rgb(143, 125, 34); /* oklch */ color: oklch(59.0% 0.109 97.5);
Tailwind
colors: {
custom: {
50: '#b3a264',
500: '#8f7d22',
950: '#000000',
},
}SCSS
$custom: #8f7d22; $custom-light: #b3a264; $custom-dark: #000000;
JSON
{
"hex": "#8f7d22",
"rgb": {
"r": 143,
"g": 125,
"b": 34
},
"hsl": {
"h": 50.092,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.58972,
"c": 0.10887,
"h": 97.5
},
"luminance": 0.20622
}Semantic roles & 50–950 ramp
primary
#8F7D22
secondary
#5264BA
accent
#5EE543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A