#9C8122#9C8122
#9C8122 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.2% C 0.113 H 92.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8122 |
|---|---|
| RGB | rgb(156, 129, 34) |
| HSL | hsl(47, 64%, 37%) |
| HSV | hsv(47, 78%, 61%) |
| CMYK | cmyk(0%, 17.3%, 78.2%, 38.8%) |
| CIE-LAB | lab(54.95, 0.46, 51.78) |
| CIE-LCH | lch(54.95, 51.79, 89.49°) |
| OKLab | oklab(61.19% -0.0043 0.1132) |
| OKLCH | oklch(61.19% 0.113 92.2) |
| XYZ | xyz(21.8505, 22.8853, 4.7795) |
| Luminance | 0.2288 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.53
Yellowish Brown
#9B7A01
ΔE00 3.24
Baby Poop
#937C00
ΔE00 3.28
Puke Brown
#947706
ΔE00 3.85
Dark Mustard
#A88905
ΔE00 4.23
Hazel
#8E7618
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8122 #223D9C
analogous
#9C4422 #9C8122 #7A9C22
triadic
#9C8122 #229C81 #81229C
tetradic
#9C8122 #229C44 #223D9C #9C227A
square
#9C8122 #229C44 #223D9C #9C227A
split-complementary
#9C8122 #227A9C #44229C
monochromatic
#382E0C #6A5717 #9C8122 #CEAB2D #DCC05D
Accessibility & contrast
On white
3.77
#9C8122 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#9C8122 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8122
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8122 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8122 | 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)
#907F0F
Deuteranopia (green-blind)
#978728
Tritanopia (blue-blind)
#A9766F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #9c8122; /* rgb */ color: rgb(156, 129, 34); /* oklch */ color: oklch(61.2% 0.113 92.2);
Tailwind
colors: {
custom: {
50: '#bda565',
500: '#9c8122',
950: '#000000',
},
}SCSS
$custom: #9c8122; $custom-light: #bda565; $custom-dark: #000000;
JSON
{
"hex": "#9c8122",
"rgb": {
"r": 156,
"g": 129,
"b": 34
},
"hsl": {
"h": 46.721,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.61191,
"c": 0.11326,
"h": 92.2
},
"luminance": 0.22884
}Semantic roles & 50–950 ramp
primary
#9C8122
secondary
#5A70C0
accent
#65E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A