#9C8231#9C8231
#9C8231 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.5% C 0.104 H 91.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8231 |
|---|---|
| RGB | rgb(156, 130, 49) |
| HSL | hsl(45, 52%, 40%) |
| HSV | hsv(45, 69%, 61%) |
| CMYK | cmyk(0%, 16.7%, 68.6%, 38.8%) |
| CIE-LAB | lab(55.34, 0.67, 45.96) |
| CIE-LCH | lch(55.34, 45.96, 89.17°) |
| OKLab | oklab(61.53% -0.0019 0.1038) |
| OKLCH | oklch(61.53% 0.104 91.1) |
| XYZ | xyz(22.2485, 23.2562, 6.2222) |
| Luminance | 0.2326 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.26
Yellowish Brown
#9B7A01
ΔE00 4.64
Baby Poop
#937C00
ΔE00 4.78
Puke Brown
#947706
ΔE00 5.01
Hazel
#8E7618
ΔE00 5.06
Dark Mustard
#A88905
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8231 #314B9C
analogous
#9C4D31 #9C8231 #809C31
triadic
#9C8231 #319C82 #82319C
tetradic
#9C8231 #319C4D #314B9C #9C3180
square
#9C8231 #319C4D #314B9C #9C3180
split-complementary
#9C8231 #31809C #4D319C
monochromatic
#3F3414 #6D5B22 #9C8231 #C5A645 #D3BC74
Accessibility & contrast
On white
3.72
#9C8231 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#9C8231 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8231
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8231 | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 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)
#908027
Deuteranopia (green-blind)
#978835
Tritanopia (blue-blind)
#A97871
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9c8231; /* rgb */ color: rgb(156, 130, 49); /* oklch */ color: oklch(61.5% 0.104 91.1);
Tailwind
colors: {
custom: {
50: '#bca66d',
500: '#9c8231',
950: '#000000',
},
}SCSS
$custom: #9c8231; $custom-light: #bca66d; $custom-dark: #000000;
JSON
{
"hex": "#9c8231",
"rgb": {
"r": 156,
"g": 130,
"b": 49
},
"hsl": {
"h": 45.421,
"s": 52.195,
"l": 40.196
},
"oklch": {
"l": 0.61527,
"c": 0.10378,
"h": 91.1
},
"luminance": 0.23255
}Semantic roles & 50–950 ramp
primary
#9C8231
secondary
#6D80BB
accent
#6FDC4C
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A