#9C8C2F#9C8C2F
#9C8C2F is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.7% C 0.113 H 99.4°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8C2F |
|---|---|
| RGB | rgb(156, 140, 47) |
| HSL | hsl(51, 54%, 40%) |
| HSV | hsv(51, 70%, 61%) |
| CMYK | cmyk(0%, 10.3%, 69.9%, 38.8%) |
| CIE-LAB | lab(58.07, -4.97, 49.66) |
| CIE-LCH | lch(58.07, 49.90, 95.72°) |
| OKLab | oklab(63.68% -0.0183 0.1112) |
| OKLCH | oklch(63.68% 0.113 99.4) |
| XYZ | xyz(23.6025, 26.0304, 6.4699) |
| Luminance | 0.2603 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.12
Baby Poo
#AB9004
ΔE00 5.25
Dark Mustard
#A88905
ΔE00 5.39
Baby Shit Brown
#AD900D
ΔE00 5.44
Dark Khaki
#9B8F55
ΔE00 6.17
Baby Poop
#937C00
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8C2F #2F3F9C
analogous
#9C562F #9C8C2F #759C2F
triadic
#9C8C2F #2F9C8C #8C2F9C
tetradic
#9C8C2F #2F9C56 #2F3F9C #9C2F75
square
#9C8C2F #2F9C56 #2F3F9C #9C2F75
split-complementary
#9C8C2F #2F759C #562F9C
monochromatic
#3E3813 #6D6221 #9C8C2F #C6B342 #D4C671
Accessibility & contrast
On white
3.38
#9C8C2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#9C8C2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8C2F
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8C2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8C2F | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8822
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#A88279
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #9c8c2f; /* rgb */ color: rgb(156, 140, 47); /* oklch */ color: oklch(63.7% 0.113 99.4);
Tailwind
colors: {
custom: {
50: '#bcad6d',
500: '#9c8c2f',
950: '#000000',
},
}SCSS
$custom: #9c8c2f; $custom-light: #bcad6d; $custom-dark: #000000;
JSON
{
"hex": "#9c8c2f",
"rgb": {
"r": 156,
"g": 140,
"b": 47
},
"hsl": {
"h": 51.193,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.63682,
"c": 0.11273,
"h": 99.4
},
"luminance": 0.26029
}Semantic roles & 50–950 ramp
primary
#9C8C2F
secondary
#6B77BC
accent
#60DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A