#9C8E27#9C8E27
#9C8E27 is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.120 H 101.3°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8E27 |
|---|---|
| RGB | rgb(156, 142, 39) |
| HSL | hsl(53, 60%, 38%) |
| HSV | hsv(53, 75%, 61%) |
| CMYK | cmyk(0%, 9%, 75%, 38.8%) |
| CIE-LAB | lab(58.57, -6.48, 53.33) |
| CIE-LCH | lch(58.57, 53.72, 96.92°) |
| OKLab | oklab(64.06% -0.0235 0.1175) |
| OKLCH | oklch(64.06% 0.12 101.3) |
| XYZ | xyz(23.7506, 26.5615, 5.7949) |
| Luminance | 0.2656 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.83
Baby Shit Brown
#AD900D
ΔE00 5.19
Diarrhea
#9F8303
ΔE00 5.45
Dark Mustard
#A88905
ΔE00 5.51
Brown Yellow
#B29705
ΔE00 6.08
Yellowy Brown
#AE8B0C
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8E27 #27359C
analogous
#9C5427 #9C8E27 #6F9C27
triadic
#9C8E27 #279C8E #8E279C
tetradic
#9C8E27 #279C54 #27359C #9C276F
square
#9C8E27 #279C54 #27359C #9C276F
split-complementary
#9C8E27 #276F9C #54279C
monochromatic
#3A350F #6B611B #9C8E27 #CCBA34 #D8CB65
Accessibility & contrast
On white
3.33
#9C8E27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#9C8E27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8E27
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8E27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8E27 | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8A14
Deuteranopia (green-blind)
#A08F2E
Tritanopia (blue-blind)
#A8837A
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9c8e27; /* rgb */ color: rgb(156, 142, 39); /* oklch */ color: oklch(64.1% 0.120 101.3);
Tailwind
colors: {
custom: {
50: '#bdae69',
500: '#9c8e27',
950: '#000000',
},
}SCSS
$custom: #9c8e27; $custom-light: #bdae69; $custom-dark: #000000;
JSON
{
"hex": "#9c8e27",
"rgb": {
"r": 156,
"g": 142,
"b": 39
},
"hsl": {
"h": 52.821,
"s": 60,
"l": 38.235
},
"oklch": {
"l": 0.64061,
"c": 0.11982,
"h": 101.3
},
"luminance": 0.2656
}Semantic roles & 50–950 ramp
primary
#9C8E27
secondary
#616CBE
accent
#58E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A