#9A8F23#9A8F23
#9A8F23 is a light, vivid yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.123 H 103.3°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9A8F23 |
|---|---|
| RGB | rgb(154, 143, 35) |
| HSL | hsl(54, 63%, 37%) |
| HSV | hsv(54, 77%, 60%) |
| CMYK | cmyk(0%, 7.1%, 77.3%, 39.6%) |
| CIE-LAB | lab(58.64, -8.10, 54.77) |
| CIE-LCH | lch(58.64, 55.37, 98.41°) |
| OKLab | oklab(64.07% -0.0283 0.1199) |
| OKLCH | oklch(64.07% 0.123 103.3) |
| XYZ | xyz(23.4533, 26.6373, 5.4959) |
| Luminance | 0.2664 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.36
Pea Soup
#929901
ΔE00 5.68
Baby Shit Brown
#AD900D
ΔE00 5.81
Baby Poop Green
#8F9805
ΔE00 5.89
Diarrhea
#9F8303
ΔE00 6.17
Dark Mustard
#A88905
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A8F23 #232E9A
analogous
#9A5423 #9A8F23 #6A9A23
triadic
#9A8F23 #239A8F #8F239A
tetradic
#9A8F23 #239A54 #232E9A #9A236A
square
#9A8F23 #239A54 #232E9A #9A236A
split-complementary
#9A8F23 #236A9A #54239A
monochromatic
#36320C #686118 #9A8F23 #CCBD2E #DACF5D
Accessibility & contrast
On white
3.32
#9A8F23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.33
#9A8F23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A8F23
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A8F23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A8F23 | 1.00 | 3.32 | 6.33 | 6.33 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8A0B
Deuteranopia (green-blind)
#A08F2B
Tritanopia (blue-blind)
#A6857B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9a8f23; /* rgb */ color: rgb(154, 143, 35); /* oklch */ color: oklch(64.1% 0.123 103.3);
Tailwind
colors: {
custom: {
50: '#bbaf67',
500: '#9a8f23',
950: '#000000',
},
}SCSS
$custom: #9a8f23; $custom-light: #bbaf67; $custom-dark: #000000;
JSON
{
"hex": "#9a8f23",
"rgb": {
"r": 154,
"g": 143,
"b": 35
},
"hsl": {
"h": 54.454,
"s": 62.963,
"l": 37.059
},
"oklch": {
"l": 0.64066,
"c": 0.12315,
"h": 103.3
},
"luminance": 0.26636
}Semantic roles & 50–950 ramp
primary
#9A8F23
secondary
#5A63BF
accent
#51E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A