#9C8628#9C8628
#9C8628 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.3% C 0.113 H 95.5°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8628 |
|---|---|
| RGB | rgb(156, 134, 40) |
| HSL | hsl(49, 59%, 38%) |
| HSV | hsv(49, 74%, 61%) |
| CMYK | cmyk(0%, 14.1%, 74.4%, 38.8%) |
| CIE-LAB | lab(56.36, -2.04, 50.82) |
| CIE-LCH | lch(56.36, 50.86, 92.30°) |
| OKLab | oklab(62.31% -0.0108 0.1124) |
| OKLCH | oklch(62.31% 0.113 95.5) |
| XYZ | xyz(22.6196, 24.2725, 5.5007) |
| Luminance | 0.2427 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.11
Dark Mustard
#A88905
ΔE00 4.14
Baby Poop
#937C00
ΔE00 4.21
Yellowy Brown
#AE8B0C
ΔE00 5.21
Baby Poo
#AB9004
ΔE00 5.23
Yellowish Brown
#9B7A01
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8628 #283E9C
analogous
#9C4C28 #9C8628 #789C28
triadic
#9C8628 #289C86 #86289C
tetradic
#9C8628 #289C4C #283E9C #9C2878
square
#9C8628 #289C4C #283E9C #9C2878
split-complementary
#9C8628 #28789C #4C289C
monochromatic
#3B320F #6B5C1C #9C8628 #CBAF36 #D8C267
Accessibility & contrast
On white
3.59
#9C8628 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#9C8628 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8628
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8628 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8628 | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948319
Deuteranopia (green-blind)
#9A8A2E
Tritanopia (blue-blind)
#A97B73
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9c8628; /* rgb */ color: rgb(156, 134, 40); /* oklch */ color: oklch(62.3% 0.113 95.5);
Tailwind
colors: {
custom: {
50: '#bda869',
500: '#9c8628',
950: '#000000',
},
}SCSS
$custom: #9c8628; $custom-light: #bda869; $custom-dark: #000000;
JSON
{
"hex": "#9c8628",
"rgb": {
"r": 156,
"g": 134,
"b": 40
},
"hsl": {
"h": 48.621,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.62314,
"c": 0.1129,
"h": 95.5
},
"luminance": 0.24271
}Semantic roles & 50–950 ramp
primary
#9C8628
secondary
#6273BE
accent
#63E245
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A