#9C8F26#9C8F26
#9C8F26 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 | #9C8F26 |
|---|---|
| RGB | rgb(156, 143, 38) |
| HSL | hsl(53, 61%, 38%) |
| HSV | hsv(53, 76%, 61%) |
| CMYK | cmyk(0%, 8.3%, 75.6%, 38.8%) |
| CIE-LAB | lab(58.84, -7.06, 53.96) |
| CIE-LCH | lch(58.84, 54.42, 97.46°) |
| OKLab | oklab(64.28% -0.0252 0.1186) |
| OKLCH | oklch(64.28% 0.121 102) |
| XYZ | xyz(23.8837, 26.8538, 5.7586) |
| Luminance | 0.2685 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.92
Baby Shit Brown
#AD900D
ΔE00 5.31
Dark Mustard
#A88905
ΔE00 5.78
Diarrhea
#9F8303
ΔE00 5.79
Brown Yellow
#B29705
ΔE00 6.02
Pea Soup
#929901
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8F26 #26339C
analogous
#9C5426 #9C8F26 #6E9C26
triadic
#9C8F26 #269C8F #8F269C
tetradic
#9C8F26 #269C54 #26339C #9C266E
square
#9C8F26 #269C54 #26339C #9C266E
split-complementary
#9C8F26 #266E9C #54269C
monochromatic
#3A350E #6B621A #9C8F26 #CDBC32 #D9CC63
Accessibility & contrast
On white
3.30
#9C8F26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#9C8F26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8F26
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8F26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8F26 | 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)
#9D8A12
Deuteranopia (green-blind)
#A1902D
Tritanopia (blue-blind)
#A8847B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9c8f26; /* rgb */ color: rgb(156, 143, 38); /* oklch */ color: oklch(64.3% 0.121 102.0);
Tailwind
colors: {
custom: {
50: '#bdaf69',
500: '#9c8f26',
950: '#000000',
},
}SCSS
$custom: #9c8f26; $custom-light: #bdaf69; $custom-dark: #000000;
JSON
{
"hex": "#9c8f26",
"rgb": {
"r": 156,
"g": 143,
"b": 38
},
"hsl": {
"h": 53.39,
"s": 60.825,
"l": 38.039
},
"oklch": {
"l": 0.64276,
"c": 0.12128,
"h": 102
},
"luminance": 0.26853
}Semantic roles & 50–950 ramp
primary
#9C8F26
secondary
#5F6ABF
accent
#55E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A