#9C8A38#9C8A38
#9C8A38 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.3% C 0.104 H 96.9°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8A38 |
|---|---|
| RGB | rgb(156, 138, 56) |
| HSL | hsl(49, 47%, 42%) |
| HSV | hsv(49, 64%, 61%) |
| CMYK | cmyk(0%, 11.5%, 64.1%, 38.8%) |
| CIE-LAB | lab(57.59, -3.32, 45.15) |
| CIE-LCH | lch(57.59, 45.27, 94.20°) |
| OKLab | oklab(63.33% -0.0125 0.1032) |
| OKLCH | oklch(63.33% 0.104 96.9) |
| XYZ | xyz(23.5136, 25.5315, 7.4301) |
| Luminance | 0.2553 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.01
Diarrhea
#9F8303
ΔE00 5.40
Dark Mustard
#A88905
ΔE00 5.85
Baby Poo
#AB9004
ΔE00 6.24
Baby Shit Brown
#AD900D
ΔE00 6.25
Baby Poop
#937C00
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8A38 #384A9C
analogous
#9C5838 #9C8A38 #7C9C38
triadic
#9C8A38 #389C8A #8A389C
tetradic
#9C8A38 #389C58 #384A9C #9C387C
square
#9C8A38 #389C58 #384A9C #9C387C
split-complementary
#9C8A38 #387C9C #58389C
monochromatic
#423A18 #6F6228 #9C8A38 #C0AC51 #D1C27E
Accessibility & contrast
On white
3.44
#9C8A38 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#9C8A38 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8A38
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8A38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8A38 | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#97872F
Deuteranopia (green-blind)
#9C8D3C
Tritanopia (blue-blind)
#A88078
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9c8a38; /* rgb */ color: rgb(156, 138, 56); /* oklch */ color: oklch(63.3% 0.104 96.9);
Tailwind
colors: {
custom: {
50: '#bcab72',
500: '#9c8a38',
950: '#000000',
},
}SCSS
$custom: #9c8a38; $custom-light: #bcab72; $custom-dark: #000000;
JSON
{
"hex": "#9c8a38",
"rgb": {
"r": 156,
"g": 138,
"b": 56
},
"hsl": {
"h": 49.2,
"s": 47.17,
"l": 41.569
},
"oklch": {
"l": 0.63329,
"c": 0.10393,
"h": 96.9
},
"luminance": 0.2553
}Semantic roles & 50–950 ramp
primary
#9C8A38
secondary
#7682BA
accent
#69D751
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B