#9A952E#9A952E
#9A952E is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.5% C 0.122 H 106.6°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9A952E |
|---|---|
| RGB | rgb(154, 149, 46) |
| HSL | hsl(57, 54%, 39%) |
| HSV | hsv(57, 70%, 60%) |
| CMYK | cmyk(0%, 3.2%, 70.1%, 39.6%) |
| CIE-LAB | lab(60.39, -10.78, 52.35) |
| CIE-LCH | lch(60.39, 53.45, 101.64°) |
| OKLab | oklab(65.49% -0.0348 0.1168) |
| OKLCH | oklch(65.49% 0.122 106.6) |
| XYZ | xyz(24.5679, 28.5630, 6.8033) |
| Luminance | 0.2856 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.24
Baby Poop Green
#8F9805
ΔE00 4.41
Baby Shit Green
#889717
ΔE00 5.35
Vomit
#A2A415
ΔE00 5.57
Puke
#A5A502
ΔE00 6.25
Baby Poo
#AB9004
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A952E #2E339A
analogous
#9A5F2E #9A952E #699A2E
triadic
#9A952E #2E9A95 #952E9A
tetradic
#9A952E #2E9A5F #2E339A #9A2E69
square
#9A952E #2E9A5F #2E339A #9A2E69
split-complementary
#9A952E #2E699A #5F2E9A
monochromatic
#3C3A12 #6B6720 #9A952E #C6C03F #D4CF6F
Accessibility & contrast
On white
3.13
#9A952E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#9A952E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A952E
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A952E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A952E | 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)
#A28F1E
Deuteranopia (green-blind)
#A49335
Tritanopia (blue-blind)
#A58B80
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9a952e; /* rgb */ color: rgb(154, 149, 46); /* oklch */ color: oklch(65.5% 0.122 106.6);
Tailwind
colors: {
custom: {
50: '#bbb36d',
500: '#9a952e',
950: '#000000',
},
}SCSS
$custom: #9a952e; $custom-light: #bbb36d; $custom-dark: #000000;
JSON
{
"hex": "#9a952e",
"rgb": {
"r": 154,
"g": 149,
"b": 46
},
"hsl": {
"h": 57.222,
"s": 54,
"l": 39.216
},
"oklch": {
"l": 0.65486,
"c": 0.12187,
"h": 106.6
},
"luminance": 0.28562
}Semantic roles & 50–950 ramp
primary
#9A952E
secondary
#696CBB
accent
#51DD4A
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A