#9C8B38#9C8B38
#9C8B38 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.5% C 0.105 H 97.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8B38 |
|---|---|
| RGB | rgb(156, 139, 56) |
| HSL | hsl(50, 47%, 42%) |
| HSV | hsv(50, 64%, 61%) |
| CMYK | cmyk(0%, 10.9%, 64.1%, 38.8%) |
| CIE-LAB | lab(57.87, -3.87, 45.45) |
| CIE-LCH | lch(57.87, 45.61, 94.86°) |
| OKLab | oklab(63.55% -0.0141 0.1038) |
| OKLCH | oklch(63.55% 0.105 97.7) |
| XYZ | xyz(23.6577, 25.8198, 7.4782) |
| Luminance | 0.2582 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.97
Diarrhea
#9F8303
ΔE00 5.60
Dark Mustard
#A88905
ΔE00 5.96
Baby Poo
#AB9004
ΔE00 6.17
Baby Shit Brown
#AD900D
ΔE00 6.21
Baby Poop
#937C00
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8B38 #38499C
analogous
#9C5938 #9C8B38 #7B9C38
triadic
#9C8B38 #389C8B #8B389C
tetradic
#9C8B38 #389C59 #38499C #9C387B
square
#9C8B38 #389C59 #38499C #9C387B
split-complementary
#9C8B38 #387B9C #59389C
monochromatic
#423B18 #6F6328 #9C8B38 #C0AD51 #D1C37E
Accessibility & contrast
On white
3.41
#9C8B38 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#9C8B38 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8B38
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8B38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8B38 | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98882F
Deuteranopia (green-blind)
#9D8E3C
Tritanopia (blue-blind)
#A88179
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9c8b38; /* rgb */ color: rgb(156, 139, 56); /* oklch */ color: oklch(63.5% 0.105 97.7);
Tailwind
colors: {
custom: {
50: '#bcac72',
500: '#9c8b38',
950: '#000000',
},
}SCSS
$custom: #9c8b38; $custom-light: #bcac72; $custom-dark: #000000;
JSON
{
"hex": "#9c8b38",
"rgb": {
"r": 156,
"g": 139,
"b": 56
},
"hsl": {
"h": 49.8,
"s": 47.17,
"l": 41.569
},
"oklch": {
"l": 0.63547,
"c": 0.10476,
"h": 97.7
},
"luminance": 0.25819
}Semantic roles & 50–950 ramp
primary
#9C8B38
secondary
#7681BA
accent
#68D751
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B