#9C8121#9C8121
#9C8121 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.2% C 0.114 H 92.3°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8121 |
|---|---|
| RGB | rgb(156, 129, 33) |
| HSL | hsl(47, 65%, 37%) |
| HSV | hsv(47, 79%, 61%) |
| CMYK | cmyk(0%, 17.3%, 78.8%, 38.8%) |
| CIE-LAB | lab(54.95, 0.42, 52.14) |
| CIE-LCH | lch(54.95, 52.15, 89.54°) |
| OKLab | oklab(61.19% -0.0045 0.1137) |
| OKLCH | oklch(61.19% 0.114 92.3) |
| XYZ | xyz(21.8363, 22.8796, 4.7046) |
| Luminance | 0.2288 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.43
Yellowish Brown
#9B7A01
ΔE00 3.19
Baby Poop
#937C00
ΔE00 3.21
Puke Brown
#947706
ΔE00 3.82
Dark Mustard
#A88905
ΔE00 4.16
Hazel
#8E7618
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8121 #213C9C
analogous
#9C4321 #9C8121 #7A9C21
triadic
#9C8121 #219C81 #81219C
tetradic
#9C8121 #219C43 #213C9C #9C217A
square
#9C8121 #219C43 #213C9C #9C217A
split-complementary
#9C8121 #217A9C #43219C
monochromatic
#372D0C #695716 #9C8121 #CFAB2C #DCC05B
Accessibility & contrast
On white
3.77
#9C8121 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#9C8121 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8121
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8121 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8121 | 1.00 | 3.77 | 5.58 | 5.58 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#A9766F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #9c8121; /* rgb */ color: rgb(156, 129, 33); /* oklch */ color: oklch(61.2% 0.114 92.3);
Tailwind
colors: {
custom: {
50: '#bda564',
500: '#9c8121',
950: '#000000',
},
}SCSS
$custom: #9c8121; $custom-light: #bda564; $custom-dark: #000000;
JSON
{
"hex": "#9c8121",
"rgb": {
"r": 156,
"g": 129,
"b": 33
},
"hsl": {
"h": 46.829,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.61185,
"c": 0.11382,
"h": 92.3
},
"luminance": 0.22878
}Semantic roles & 50–950 ramp
primary
#9C8121
secondary
#586FC1
accent
#65E840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A