#9A8F1D#9A8F1D
#9A8F1D is a light, vivid yellow. Relative luminance 0.266; OKLCH L 64.0% C 0.126 H 103.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9A8F1D |
|---|---|
| RGB | rgb(154, 143, 29) |
| HSL | hsl(55, 68%, 36%) |
| HSV | hsv(55, 81%, 60%) |
| CMYK | cmyk(0%, 7.1%, 81.2%, 39.6%) |
| CIE-LAB | lab(58.61, -8.33, 56.70) |
| CIE-LCH | lch(58.61, 57.31, 98.36°) |
| OKLab | oklab(64.03% -0.0295 0.1228) |
| OKLCH | oklch(64.03% 0.126 103.5) |
| XYZ | xyz(23.3717, 26.6047, 5.0663) |
| Luminance | 0.2660 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.16
Pea Soup
#929901
ΔE00 5.50
Baby Shit Brown
#AD900D
ΔE00 5.66
Baby Poop Green
#8F9805
ΔE00 5.75
Diarrhea
#9F8303
ΔE00 6.09
Dark Mustard
#A88905
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A8F1D #1D289A
analogous
#9A501D #9A8F1D #669A1D
triadic
#9A8F1D #1D9A8F #8F1D9A
tetradic
#9A8F1D #1D9A50 #1D289A #9A1D66
square
#9A8F1D #1D9A50 #1D289A #9A1D66
split-complementary
#9A8F1D #1D669A #501D9A
monochromatic
#332F0A #665F13 #9A8F1D #CEBF27 #DFD253
Accessibility & contrast
On white
3.32
#9A8F1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#9A8F1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A8F1D
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A8F1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A8F1D | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#A08F27
Tritanopia (blue-blind)
#A6847A
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9a8f1d; /* rgb */ color: rgb(154, 143, 29); /* oklch */ color: oklch(64.0% 0.126 103.5);
Tailwind
colors: {
custom: {
50: '#bcaf64',
500: '#9a8f1d',
950: '#000000',
},
}SCSS
$custom: #9a8f1d; $custom-light: #bcaf64; $custom-dark: #000000;
JSON
{
"hex": "#9a8f1d",
"rgb": {
"r": 154,
"g": 143,
"b": 29
},
"hsl": {
"h": 54.72,
"s": 68.306,
"l": 35.882
},
"oklch": {
"l": 0.64032,
"c": 0.12628,
"h": 103.5
},
"luminance": 0.26604
}Semantic roles & 50–950 ramp
primary
#9A8F1D
secondary
#515BC2
accent
#4CEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A