#9C8F27#9C8F27
#9C8F27 is a light, vivid yellow. Relative luminance 0.269; OKLCH L 64.3% C 0.121 H 102.0°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8F27 |
|---|---|
| RGB | rgb(156, 143, 39) |
| HSL | hsl(53, 60%, 38%) |
| HSV | hsv(53, 75%, 61%) |
| CMYK | cmyk(0%, 8.3%, 75%, 38.8%) |
| CIE-LAB | lab(58.84, -7.02, 53.60) |
| CIE-LCH | lch(58.84, 54.06, 97.46°) |
| OKLab | oklab(64.28% -0.025 0.1181) |
| OKLCH | oklch(64.28% 0.121 102) |
| XYZ | xyz(23.9001, 26.8604, 5.8447) |
| Luminance | 0.2686 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.97
Baby Shit Brown
#AD900D
ΔE00 5.35
Dark Mustard
#A88905
ΔE00 5.81
Diarrhea
#9F8303
ΔE00 5.82
Brown Yellow
#B29705
ΔE00 6.07
Pea Soup
#929901
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8F27 #27349C
analogous
#9C5427 #9C8F27 #6E9C27
triadic
#9C8F27 #279C8F #8F279C
tetradic
#9C8F27 #279C54 #27349C #9C276E
square
#9C8F27 #279C54 #27349C #9C276E
split-complementary
#9C8F27 #276E9C #54279C
monochromatic
#3A350F #6B621B #9C8F27 #CCBB34 #D8CC65
Accessibility & contrast
On white
3.30
#9C8F27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#9C8F27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8F27
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8F27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8F27 | 1.00 | 3.30 | 6.37 | 6.37 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8A14
Deuteranopia (green-blind)
#A0902E
Tritanopia (blue-blind)
#A8847B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9c8f27; /* rgb */ color: rgb(156, 143, 39); /* oklch */ color: oklch(64.3% 0.121 102.0);
Tailwind
colors: {
custom: {
50: '#bdaf69',
500: '#9c8f27',
950: '#000000',
},
}SCSS
$custom: #9c8f27; $custom-light: #bdaf69; $custom-dark: #000000;
JSON
{
"hex": "#9c8f27",
"rgb": {
"r": 156,
"g": 143,
"b": 39
},
"hsl": {
"h": 53.333,
"s": 60,
"l": 38.235
},
"oklch": {
"l": 0.64282,
"c": 0.12068,
"h": 102
},
"luminance": 0.26859
}Semantic roles & 50–950 ramp
primary
#9C8F27
secondary
#616BBE
accent
#56E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A