#9C8123#9C8123
#9C8123 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.2% C 0.113 H 92.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8123 |
|---|---|
| RGB | rgb(156, 129, 35) |
| HSL | hsl(47, 63%, 37%) |
| HSV | hsv(47, 78%, 61%) |
| CMYK | cmyk(0%, 17.3%, 77.6%, 38.8%) |
| CIE-LAB | lab(54.96, 0.50, 51.42) |
| CIE-LCH | lch(54.96, 51.42, 89.44°) |
| OKLab | oklab(61.2% -0.0041 0.1126) |
| OKLCH | oklch(61.2% 0.113 92.1) |
| XYZ | xyz(21.8652, 22.8911, 4.8565) |
| Luminance | 0.2289 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.64
Yellowish Brown
#9B7A01
ΔE00 3.29
Baby Poop
#937C00
ΔE00 3.36
Puke Brown
#947706
ΔE00 3.89
Dark Mustard
#A88905
ΔE00 4.30
Hazel
#8E7618
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8123 #233E9C
analogous
#9C4523 #9C8123 #7A9C23
triadic
#9C8123 #239C81 #81239C
tetradic
#9C8123 #239C45 #233E9C #9C237A
square
#9C8123 #239C45 #233E9C #9C237A
split-complementary
#9C8123 #237A9C #45239C
monochromatic
#382E0D #6A5818 #9C8123 #CEAA2E #DBBF5E
Accessibility & contrast
On white
3.76
#9C8123 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#9C8123 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8123
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8123 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8123 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 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)
#907F12
Deuteranopia (green-blind)
#968729
Tritanopia (blue-blind)
#A9766F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9c8123; /* rgb */ color: rgb(156, 129, 35); /* oklch */ color: oklch(61.2% 0.113 92.1);
Tailwind
colors: {
custom: {
50: '#bda565',
500: '#9c8123',
950: '#000000',
},
}SCSS
$custom: #9c8123; $custom-light: #bda565; $custom-dark: #000000;
JSON
{
"hex": "#9c8123",
"rgb": {
"r": 156,
"g": 129,
"b": 35
},
"hsl": {
"h": 46.612,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.61198,
"c": 0.11268,
"h": 92.1
},
"luminance": 0.2289
}Semantic roles & 50–950 ramp
primary
#9C8123
secondary
#5B72C0
accent
#66E641
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A