#9B982E#9B982E
#9B982E is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.3% C 0.125 H 107.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9B982E |
|---|---|
| RGB | rgb(155, 152, 46) |
| HSL | hsl(58, 54%, 39%) |
| HSV | hsv(58, 70%, 61%) |
| CMYK | cmyk(0%, 1.9%, 70.3%, 39.2%) |
| CIE-LAB | lab(61.33, -11.93, 53.31) |
| CIE-LCH | lch(61.33, 54.63, 102.61°) |
| OKLab | oklab(66.25% -0.038 0.1188) |
| OKLCH | oklch(66.25% 0.125 107.8) |
| XYZ | xyz(25.2399, 29.6231, 6.9725) |
| Luminance | 0.2962 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.66
Baby Poop Green
#8F9805
ΔE00 3.89
Vomit
#A2A415
ΔE00 4.63
Baby Shit Green
#889717
ΔE00 4.93
Puke
#A5A502
ΔE00 5.40
Pea Soup Green
#94A617
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B982E #2E319B
analogous
#9B622E #9B982E #679B2E
triadic
#9B982E #2E9B98 #982E9B
tetradic
#9B982E #2E9B62 #2E319B #9B2E67
square
#9B982E #2E9B62 #2E319B #9B2E67
split-complementary
#9B982E #2E679B #622E9B
monochromatic
#3D3B12 #6C6A20 #9B982E #C6C340 #D4D26F
Accessibility & contrast
On white
3.03
#9B982E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#9B982E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B982E
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B982E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B982E | 1.00 | 3.03 | 6.92 | 6.92 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5921D
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#A68E83
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9b982e; /* rgb */ color: rgb(155, 152, 46); /* oklch */ color: oklch(66.3% 0.125 107.8);
Tailwind
colors: {
custom: {
50: '#bcb66e',
500: '#9b982e',
950: '#000000',
},
}SCSS
$custom: #9b982e; $custom-light: #bcb66e; $custom-dark: #000000;
JSON
{
"hex": "#9b982e",
"rgb": {
"r": 155,
"g": 152,
"b": 46
},
"hsl": {
"h": 58.349,
"s": 54.229,
"l": 39.412
},
"oklch": {
"l": 0.66252,
"c": 0.12473,
"h": 107.8
},
"luminance": 0.29622
}Semantic roles & 50–950 ramp
primary
#9B982E
secondary
#696BBC
accent
#4EDE4A
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A