#9D962C#9D962C
#9D962C is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.0% C 0.124 H 105.5°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9D962C |
|---|---|
| RGB | rgb(157, 150, 44) |
| HSL | hsl(56, 56%, 39%) |
| HSV | hsv(56, 72%, 62%) |
| CMYK | cmyk(0%, 4.5%, 72%, 38.4%) |
| CIE-LAB | lab(60.93, -10.08, 53.75) |
| CIE-LCH | lch(60.93, 54.69, 100.62°) |
| OKLab | oklab(65.97% -0.0332 0.1193) |
| OKLCH | oklch(65.97% 0.124 105.5) |
| XYZ | xyz(25.2666, 29.1636, 6.6806) |
| Luminance | 0.2916 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.39
Baby Poop Green
#8F9805
ΔE00 4.69
Vomit
#A2A415
ΔE00 5.23
Puke
#A5A502
ΔE00 5.80
Baby Shit Green
#889717
ΔE00 5.90
Baby Poo
#AB9004
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D962C #2C339D
analogous
#9D5E2C #9D962C #6C9D2C
triadic
#9D962C #2C9D96 #962C9D
tetradic
#9D962C #2C9D5E #2C339D #9D2C6C
square
#9D962C #2C9D5E #2C339D #9D2C6C
split-complementary
#9D962C #2C6C9D #5E2C9D
monochromatic
#3D3B11 #6D681F #9D962C #C9C03D #D6D06D
Accessibility & contrast
On white
3.07
#9D962C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.83
#9D962C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D962C
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D962C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D962C | 1.00 | 3.07 | 6.83 | 6.83 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3901A
Deuteranopia (green-blind)
#A69533
Tritanopia (blue-blind)
#A98C81
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9d962c; /* rgb */ color: rgb(157, 150, 44); /* oklch */ color: oklch(66.0% 0.124 105.5);
Tailwind
colors: {
custom: {
50: '#bdb46c',
500: '#9d962c',
950: '#000000',
},
}SCSS
$custom: #9d962c; $custom-light: #bdb46c; $custom-dark: #000000;
JSON
{
"hex": "#9d962c",
"rgb": {
"r": 157,
"g": 150,
"b": 44
},
"hsl": {
"h": 56.283,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.65969,
"c": 0.12382,
"h": 105.5
},
"luminance": 0.29163
}Semantic roles & 50–950 ramp
primary
#9D962C
secondary
#686DBD
accent
#52E048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A