#9A962F#9A962F
#9A962F is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.7% C 0.122 H 107.1°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9A962F |
|---|---|
| RGB | rgb(154, 150, 47) |
| HSL | hsl(58, 53%, 39%) |
| HSV | hsv(58, 69%, 60%) |
| CMYK | cmyk(0%, 2.6%, 69.5%, 39.6%) |
| CIE-LAB | lab(60.68, -11.26, 52.24) |
| CIE-LCH | lch(60.68, 53.44, 102.16°) |
| OKLab | oklab(65.72% -0.036 0.1168) |
| OKLCH | oklch(65.72% 0.122 107.1) |
| XYZ | xyz(24.7468, 28.8888, 6.9613) |
| Luminance | 0.2889 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.05
Baby Poop Green
#8F9805
ΔE00 4.21
Baby Shit Green
#889717
ΔE00 5.13
Vomit
#A2A415
ΔE00 5.31
Puke
#A5A502
ΔE00 6.04
Pea Soup Green
#94A617
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A962F #2F339A
analogous
#9A612F #9A962F #699A2F
triadic
#9A962F #2F9A96 #962F9A
tetradic
#9A962F #2F9A61 #2F339A #9A2F69
square
#9A962F #2F9A61 #2F339A #9A2F69
split-complementary
#9A962F #2F699A #612F9A
monochromatic
#3C3B12 #6B6821 #9A962F #C5C041 #D3D070
Accessibility & contrast
On white
3.10
#9A962F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#9A962F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A962F
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A962F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A962F | 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)
#A3901F
Deuteranopia (green-blind)
#A59436
Tritanopia (blue-blind)
#A58C81
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9a962f; /* rgb */ color: rgb(154, 150, 47); /* oklch */ color: oklch(65.7% 0.122 107.1);
Tailwind
colors: {
custom: {
50: '#bbb46e',
500: '#9a962f',
950: '#000000',
},
}SCSS
$custom: #9a962f; $custom-light: #bbb46e; $custom-dark: #000000;
JSON
{
"hex": "#9a962f",
"rgb": {
"r": 154,
"g": 150,
"b": 47
},
"hsl": {
"h": 57.757,
"s": 53.234,
"l": 39.412
},
"oklch": {
"l": 0.65719,
"c": 0.12217,
"h": 107.1
},
"luminance": 0.28888
}Semantic roles & 50–950 ramp
primary
#9A962F
secondary
#6A6DBB
accent
#51DD4B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A