#9A942E#9A942E
#9A942E is a light, vivid yellow. Relative luminance 0.282; OKLCH L 65.3% C 0.121 H 106.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9A942E |
|---|---|
| RGB | rgb(154, 148, 46) |
| HSL | hsl(57, 54%, 39%) |
| HSV | hsv(57, 70%, 60%) |
| CMYK | cmyk(0%, 3.9%, 70.1%, 39.6%) |
| CIE-LAB | lab(60.11, -10.25, 52.07) |
| CIE-LCH | lch(60.11, 53.07, 101.14°) |
| OKLab | oklab(65.26% -0.0332 0.1162) |
| OKLCH | oklch(65.26% 0.121 106) |
| XYZ | xyz(24.4104, 28.2480, 6.7508) |
| Luminance | 0.2825 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.53
Baby Poop Green
#8F9805
ΔE00 4.69
Baby Shit Green
#889717
ΔE00 5.63
Vomit
#A2A415
ΔE00 5.91
Puke
#A5A502
ΔE00 6.55
Baby Poo
#AB9004
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A942E #2E349A
analogous
#9A5E2E #9A942E #6A9A2E
triadic
#9A942E #2E9A94 #942E9A
tetradic
#9A942E #2E9A5E #2E349A #9A2E6A
square
#9A942E #2E9A5E #2E349A #9A2E6A
split-complementary
#9A942E #2E6A9A #5E2E9A
monochromatic
#3C3912 #6B6720 #9A942E #C6BE3F #D4CE6F
Accessibility & contrast
On white
3.16
#9A942E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.65
#9A942E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A942E
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A942E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A942E | 1.00 | 3.16 | 6.65 | 6.65 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18E1E
Deuteranopia (green-blind)
#A39335
Tritanopia (blue-blind)
#A58A80
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #9a942e; /* rgb */ color: rgb(154, 148, 46); /* oklch */ color: oklch(65.3% 0.121 106.0);
Tailwind
colors: {
custom: {
50: '#bbb36d',
500: '#9a942e',
950: '#000000',
},
}SCSS
$custom: #9a942e; $custom-light: #bbb36d; $custom-dark: #000000;
JSON
{
"hex": "#9a942e",
"rgb": {
"r": 154,
"g": 148,
"b": 46
},
"hsl": {
"h": 56.667,
"s": 54,
"l": 39.216
},
"oklch": {
"l": 0.65262,
"c": 0.12088,
"h": 106
},
"luminance": 0.28247
}Semantic roles & 50–950 ramp
primary
#9A942E
secondary
#696DBB
accent
#53DD4A
background
#FBFAF6
surface
#F7F5EC
border
#D0CFC7
text
#121107
muted
#81807A