#9C8F25#9C8F25
#9C8F25 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.3% C 0.122 H 102.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8F25 |
|---|---|
| RGB | rgb(156, 143, 37) |
| HSL | hsl(53, 62%, 38%) |
| HSV | hsv(53, 76%, 61%) |
| CMYK | cmyk(0%, 8.3%, 76.3%, 38.8%) |
| CIE-LAB | lab(58.83, -7.11, 54.32) |
| CIE-LCH | lch(58.83, 54.78, 97.46°) |
| OKLab | oklab(64.27% -0.0254 0.1192) |
| OKLCH | oklch(64.27% 0.122 102.1) |
| XYZ | xyz(23.8678, 26.8475, 5.6748) |
| Luminance | 0.2685 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.87
Baby Shit Brown
#AD900D
ΔE00 5.27
Dark Mustard
#A88905
ΔE00 5.75
Diarrhea
#9F8303
ΔE00 5.77
Brown Yellow
#B29705
ΔE00 5.98
Pea Soup
#929901
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8F25 #25329C
analogous
#9C5325 #9C8F25 #6E9C25
triadic
#9C8F25 #259C8F #8F259C
tetradic
#9C8F25 #259C53 #25329C #9C256E
square
#9C8F25 #259C53 #25329C #9C256E
split-complementary
#9C8F25 #256E9C #53259C
monochromatic
#39340E #6B6219 #9C8F25 #CDBC31 #DACD62
Accessibility & contrast
On white
3.30
#9C8F25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#9C8F25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8F25
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8F25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8F25 | 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)
#9D8A0F
Deuteranopia (green-blind)
#A1902D
Tritanopia (blue-blind)
#A8847B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9c8f25; /* rgb */ color: rgb(156, 143, 37); /* oklch */ color: oklch(64.3% 0.122 102.1);
Tailwind
colors: {
custom: {
50: '#bdaf68',
500: '#9c8f25',
950: '#000000',
},
}SCSS
$custom: #9c8f25; $custom-light: #bdaf68; $custom-dark: #000000;
JSON
{
"hex": "#9c8f25",
"rgb": {
"r": 156,
"g": 143,
"b": 37
},
"hsl": {
"h": 53.445,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.64269,
"c": 0.12188,
"h": 102.1
},
"luminance": 0.26846
}Semantic roles & 50–950 ramp
primary
#9C8F25
secondary
#5E68BF
accent
#55E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A