#9D931C#9D931C
#9D931C is a light, vivid yellow. Relative luminance 0.281; OKLCH L 65.2% C 0.130 H 104.3°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9D931C |
|---|---|
| RGB | rgb(157, 147, 28) |
| HSL | hsl(55, 70%, 36%) |
| HSV | hsv(55, 82%, 62%) |
| CMYK | cmyk(0%, 6.4%, 82.2%, 38.4%) |
| CIE-LAB | lab(60.00, -9.15, 58.31) |
| CIE-LCH | lch(60.00, 59.03, 98.92°) |
| OKLab | oklab(65.2% -0.032 0.1259) |
| OKLCH | oklch(65.2% 0.13 104.3) |
| XYZ | xyz(24.5491, 28.1204, 5.2331) |
| Luminance | 0.2812 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.73
Baby Poop Green
#8F9805
ΔE00 5.12
Baby Poo
#AB9004
ΔE00 5.15
Brown Yellow
#B29705
ΔE00 5.68
Baby Shit Brown
#AD900D
ΔE00 5.68
Vomit
#A2A415
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D931C #1C269D
analogous
#9D531C #9D931C #679D1C
triadic
#9D931C #1C9D93 #931C9D
tetradic
#9D931C #1C9D53 #1C269D #9D1C67
square
#9D931C #1C9D53 #1C269D #9D1C67
split-complementary
#9D931C #1C679D #531C9D
monochromatic
#353209 #696213 #9D931C #D1C425 #E0D553
Accessibility & contrast
On white
3.17
#9D931C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.62
#9D931C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D931C
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D931C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D931C | 1.00 | 3.17 | 6.62 | 6.62 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A49326
Tritanopia (blue-blind)
#A9887D
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #9d931c; /* rgb */ color: rgb(157, 147, 28); /* oklch */ color: oklch(65.2% 0.130 104.3);
Tailwind
colors: {
custom: {
50: '#beb265',
500: '#9d931c',
950: '#000000',
},
}SCSS
$custom: #9d931c; $custom-light: #beb265; $custom-dark: #000000;
JSON
{
"hex": "#9d931c",
"rgb": {
"r": 157,
"g": 147,
"b": 28
},
"hsl": {
"h": 55.349,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.65202,
"c": 0.12994,
"h": 104.3
},
"luminance": 0.28119
}Semantic roles & 50–950 ramp
primary
#9D931C
secondary
#515AC3
accent
#49ED3B
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A