#9A962E#9A962E
#9A962E is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.7% C 0.123 H 107.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9A962E |
|---|---|
| RGB | rgb(154, 150, 46) |
| HSL | hsl(58, 54%, 39%) |
| HSV | hsv(58, 70%, 60%) |
| CMYK | cmyk(0%, 2.6%, 70.1%, 39.6%) |
| CIE-LAB | lab(60.68, -11.31, 52.63) |
| CIE-LCH | lch(60.68, 53.83, 102.13°) |
| OKLab | oklab(65.71% -0.0362 0.1174) |
| OKLCH | oklch(65.71% 0.123 107.2) |
| XYZ | xyz(24.7268, 28.8808, 6.8563) |
| Luminance | 0.2888 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.97
Baby Poop Green
#8F9805
ΔE00 4.14
Baby Shit Green
#889717
ΔE00 5.10
Vomit
#A2A415
ΔE00 5.25
Puke
#A5A502
ΔE00 5.97
Pea Soup Green
#94A617
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A962E #2E329A
analogous
#9A602E #9A962E #689A2E
triadic
#9A962E #2E9A96 #962E9A
tetradic
#9A962E #2E9A60 #2E329A #9A2E68
square
#9A962E #2E9A60 #2E329A #9A2E68
split-complementary
#9A962E #2E689A #602E9A
monochromatic
#3C3A12 #6B6820 #9A962E #C6C13F #D4D06F
Accessibility & contrast
On white
3.10
#9A962E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#9A962E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A962E
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A962E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A962E | 1.00 | 3.10 | 6.78 | 6.78 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3901E
Deuteranopia (green-blind)
#A59435
Tritanopia (blue-blind)
#A58C81
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9a962e; /* rgb */ color: rgb(154, 150, 46); /* oklch */ color: oklch(65.7% 0.123 107.2);
Tailwind
colors: {
custom: {
50: '#bbb46d',
500: '#9a962e',
950: '#000000',
},
}SCSS
$custom: #9a962e; $custom-light: #bbb46d; $custom-dark: #000000;
JSON
{
"hex": "#9a962e",
"rgb": {
"r": 154,
"g": 150,
"b": 46
},
"hsl": {
"h": 57.778,
"s": 54,
"l": 39.216
},
"oklch": {
"l": 0.65711,
"c": 0.12287,
"h": 107.2
},
"luminance": 0.2888
}Semantic roles & 50–950 ramp
primary
#9A962E
secondary
#696CBB
accent
#50DD4A
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A