#9C8338#9C8338
#9C8338 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.8% C 0.099 H 90.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8338 |
|---|---|
| RGB | rgb(156, 131, 56) |
| HSL | hsl(45, 47%, 42%) |
| HSV | hsv(45, 64%, 61%) |
| CMYK | cmyk(0%, 16%, 64.1%, 38.8%) |
| CIE-LAB | lab(55.67, 0.56, 43.05) |
| CIE-LCH | lch(55.67, 43.05, 89.25°) |
| OKLab | oklab(61.81% -0.0013 0.0987) |
| OKLCH | oklch(61.81% 0.099 90.8) |
| XYZ | xyz(22.5415, 23.5873, 7.1061) |
| Luminance | 0.2359 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.20
Yellowish Brown
#9B7A01
ΔE00 5.60
Baby Poop
#937C00
ΔE00 5.68
Hazel
#8E7618
ΔE00 5.70
Puke Brown
#947706
ΔE00 5.87
Dark Sand
#A88F59
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8338 #38519C
analogous
#9C5138 #9C8338 #839C38
triadic
#9C8338 #389C83 #83389C
tetradic
#9C8338 #389C51 #38519C #9C3883
square
#9C8338 #389C51 #38519C #9C3883
split-complementary
#9C8338 #38839C #51389C
monochromatic
#423718 #6F5D28 #9C8338 #C0A551 #D1BC7E
Accessibility & contrast
On white
3.67
#9C8338 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#9C8338 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8338
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8338 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8338 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918130
Deuteranopia (green-blind)
#97883B
Tritanopia (blue-blind)
#A87973
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9c8338; /* rgb */ color: rgb(156, 131, 56); /* oklch */ color: oklch(61.8% 0.099 90.8);
Tailwind
colors: {
custom: {
50: '#bca672',
500: '#9c8338',
950: '#000000',
},
}SCSS
$custom: #9c8338; $custom-light: #bca672; $custom-dark: #000000;
JSON
{
"hex": "#9c8338",
"rgb": {
"r": 156,
"g": 131,
"b": 56
},
"hsl": {
"h": 45,
"s": 47.17,
"l": 41.569
},
"oklch": {
"l": 0.61814,
"c": 0.09872,
"h": 90.8
},
"luminance": 0.23586
}Semantic roles & 50–950 ramp
primary
#9C8338
secondary
#7687BA
accent
#72D751
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B