#9C8E23#9C8E23
#9C8E23 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 64.0% C 0.122 H 101.5°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8E23 |
|---|---|
| RGB | rgb(156, 142, 35) |
| HSL | hsl(53, 63%, 37%) |
| HSV | hsv(53, 78%, 61%) |
| CMYK | cmyk(0%, 9%, 77.6%, 38.8%) |
| CIE-LAB | lab(58.54, -6.65, 54.75) |
| CIE-LCH | lch(58.54, 55.15, 96.93°) |
| OKLab | oklab(64.04% -0.0244 0.1197) |
| OKLCH | oklch(64.04% 0.122 101.5) |
| XYZ | xyz(23.6878, 26.5364, 5.4641) |
| Luminance | 0.2653 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.64
Baby Shit Brown
#AD900D
ΔE00 5.04
Diarrhea
#9F8303
ΔE00 5.35
Dark Mustard
#A88905
ΔE00 5.39
Brown Yellow
#B29705
ΔE00 5.89
Yellowy Brown
#AE8B0C
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8E23 #23319C
analogous
#9C5223 #9C8E23 #6D9C23
triadic
#9C8E23 #239C8E #8E239C
tetradic
#9C8E23 #239C52 #23319C #9C236D
square
#9C8E23 #239C52 #23319C #9C236D
split-complementary
#9C8E23 #236D9C #52239C
monochromatic
#38330D #6A6118 #9C8E23 #CEBC2E #DBCD5E
Accessibility & contrast
On white
3.33
#9C8E23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#9C8E23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8E23
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8E23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8E23 | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8A0B
Deuteranopia (green-blind)
#A08F2B
Tritanopia (blue-blind)
#A8837A
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9c8e23; /* rgb */ color: rgb(156, 142, 35); /* oklch */ color: oklch(64.0% 0.122 101.5);
Tailwind
colors: {
custom: {
50: '#bdae67',
500: '#9c8e23',
950: '#000000',
},
}SCSS
$custom: #9c8e23; $custom-light: #bdae67; $custom-dark: #000000;
JSON
{
"hex": "#9c8e23",
"rgb": {
"r": 156,
"g": 142,
"b": 35
},
"hsl": {
"h": 53.058,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.64035,
"c": 0.12217,
"h": 101.5
},
"luminance": 0.26535
}Semantic roles & 50–950 ramp
primary
#9C8E23
secondary
#5B67C0
accent
#55E641
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A