#9C8F23#9C8F23
#9C8F23 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.3% C 0.123 H 102.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8F23 |
|---|---|
| RGB | rgb(156, 143, 35) |
| HSL | hsl(54, 63%, 37%) |
| HSV | hsv(54, 78%, 61%) |
| CMYK | cmyk(0%, 8.3%, 77.6%, 38.8%) |
| CIE-LAB | lab(58.82, -7.19, 55.01) |
| CIE-LCH | lch(58.82, 55.48, 97.45°) |
| OKLab | oklab(64.26% -0.0259 0.1203) |
| OKLCH | oklch(64.26% 0.123 102.1) |
| XYZ | xyz(23.8372, 26.8353, 5.5139) |
| Luminance | 0.2683 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.78
Baby Shit Brown
#AD900D
ΔE00 5.21
Dark Mustard
#A88905
ΔE00 5.70
Diarrhea
#9F8303
ΔE00 5.73
Brown Yellow
#B29705
ΔE00 5.89
Pea Soup
#929901
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8F23 #23309C
analogous
#9C5323 #9C8F23 #6C9C23
triadic
#9C8F23 #239C8F #8F239C
tetradic
#9C8F23 #239C53 #23309C #9C236C
square
#9C8F23 #239C53 #23309C #9C236C
split-complementary
#9C8F23 #236C9C #53239C
monochromatic
#38330D #6A6118 #9C8F23 #CEBD2E #DBCE5E
Accessibility & contrast
On white
3.30
#9C8F23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#9C8F23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8F23
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8F23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8F23 | 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)
#9D8A0A
Deuteranopia (green-blind)
#A1902B
Tritanopia (blue-blind)
#A8847B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9c8f23; /* rgb */ color: rgb(156, 143, 35); /* oklch */ color: oklch(64.3% 0.123 102.1);
Tailwind
colors: {
custom: {
50: '#bdaf67',
500: '#9c8f23',
950: '#000000',
},
}SCSS
$custom: #9c8f23; $custom-light: #bdaf67; $custom-dark: #000000;
JSON
{
"hex": "#9c8f23",
"rgb": {
"r": 156,
"g": 143,
"b": 35
},
"hsl": {
"h": 53.554,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.64256,
"c": 0.12303,
"h": 102.1
},
"luminance": 0.26834
}Semantic roles & 50–950 ramp
primary
#9C8F23
secondary
#5B66C0
accent
#53E641
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A