#9C8233#9C8233
#9C8233 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.5% C 0.102 H 90.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8233 |
|---|---|
| RGB | rgb(156, 130, 51) |
| HSL | hsl(45, 51%, 41%) |
| HSV | hsv(45, 67%, 61%) |
| CMYK | cmyk(0%, 16.7%, 67.3%, 38.8%) |
| CIE-LAB | lab(55.35, 0.79, 45.06) |
| CIE-LCH | lch(55.35, 45.07, 89.00°) |
| OKLab | oklab(61.55% -0.0013 0.1022) |
| OKLCH | oklch(61.55% 0.102 90.7) |
| XYZ | xyz(22.2916, 23.2735, 6.4494) |
| Luminance | 0.2327 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.56
Yellowish Brown
#9B7A01
ΔE00 4.86
Baby Poop
#937C00
ΔE00 5.04
Hazel
#8E7618
ΔE00 5.18
Puke Brown
#947706
ΔE00 5.19
Dark Mustard
#A88905
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8233 #334D9C
analogous
#9C4D33 #9C8233 #819C33
triadic
#9C8233 #339C82 #82339C
tetradic
#9C8233 #339C4D #334D9C #9C3381
square
#9C8233 #339C4D #334D9C #9C3381
split-complementary
#9C8233 #33819C #4D339C
monochromatic
#403515 #6E5C24 #9C8233 #C3A549 #D3BC77
Accessibility & contrast
On white
3.71
#9C8233 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#9C8233 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8233
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8233 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8233 | 1.00 | 3.71 | 5.65 | 5.65 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90802A
Deuteranopia (green-blind)
#968837
Tritanopia (blue-blind)
#A97871
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9c8233; /* rgb */ color: rgb(156, 130, 51); /* oklch */ color: oklch(61.5% 0.102 90.7);
Tailwind
colors: {
custom: {
50: '#bca66f',
500: '#9c8233',
950: '#000000',
},
}SCSS
$custom: #9c8233; $custom-light: #bca66f; $custom-dark: #000000;
JSON
{
"hex": "#9c8233",
"rgb": {
"r": 156,
"g": 130,
"b": 51
},
"hsl": {
"h": 45.143,
"s": 50.725,
"l": 40.588
},
"oklch": {
"l": 0.61547,
"c": 0.1022,
"h": 90.7
},
"luminance": 0.23272
}Semantic roles & 50–950 ramp
primary
#9C8233
secondary
#7082BB
accent
#70DA4E
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A