#9A952F#9A952F
#9A952F is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.5% C 0.121 H 106.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9A952F |
|---|---|
| RGB | rgb(154, 149, 47) |
| HSL | hsl(57, 53%, 39%) |
| HSV | hsv(57, 69%, 60%) |
| CMYK | cmyk(0%, 3.2%, 69.5%, 39.6%) |
| CIE-LAB | lab(60.40, -10.73, 51.96) |
| CIE-LCH | lch(60.40, 53.05, 101.66°) |
| OKLab | oklab(65.49% -0.0345 0.1162) |
| OKLCH | oklch(65.49% 0.121 106.5) |
| XYZ | xyz(24.5879, 28.5710, 6.9083) |
| Luminance | 0.2857 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.32
Baby Poop Green
#8F9805
ΔE00 4.48
Baby Shit Green
#889717
ΔE00 5.38
Vomit
#A2A415
ΔE00 5.64
Puke
#A5A502
ΔE00 6.33
Baby Poo
#AB9004
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A952F #2F349A
analogous
#9A602F #9A952F #6A9A2F
triadic
#9A952F #2F9A95 #952F9A
tetradic
#9A952F #2F9A60 #2F349A #9A2F6A
square
#9A952F #2F9A60 #2F349A #9A2F6A
split-complementary
#9A952F #2F6A9A #602F9A
monochromatic
#3C3A12 #6B6821 #9A952F #C5BF41 #D3CF70
Accessibility & contrast
On white
3.13
#9A952F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#9A952F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A952F
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A952F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A952F | 1.00 | 3.13 | 6.71 | 6.71 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A28F20
Deuteranopia (green-blind)
#A49436
Tritanopia (blue-blind)
#A58B81
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9a952f; /* rgb */ color: rgb(154, 149, 47); /* oklch */ color: oklch(65.5% 0.121 106.5);
Tailwind
colors: {
custom: {
50: '#bbb36e',
500: '#9a952f',
950: '#000000',
},
}SCSS
$custom: #9a952f; $custom-light: #bbb36e; $custom-dark: #000000;
JSON
{
"hex": "#9a952f",
"rgb": {
"r": 154,
"g": 149,
"b": 47
},
"hsl": {
"h": 57.196,
"s": 53.234,
"l": 39.412
},
"oklch": {
"l": 0.65494,
"c": 0.12116,
"h": 106.5
},
"luminance": 0.2857
}Semantic roles & 50–950 ramp
primary
#9A952F
secondary
#6A6EBB
accent
#52DD4B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A