#9D951C#9D951C
#9D951C is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.6% C 0.132 H 105.4°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9D951C |
|---|---|
| RGB | rgb(157, 149, 28) |
| HSL | hsl(56, 70%, 36%) |
| HSV | hsv(56, 82%, 62%) |
| CMYK | cmyk(0%, 5.1%, 82.2%, 38.4%) |
| CIE-LAB | lab(60.56, -10.22, 58.80) |
| CIE-LCH | lch(60.56, 59.68, 99.86°) |
| OKLab | oklab(65.65% -0.035 0.127) |
| OKLCH | oklch(65.65% 0.132 105.4) |
| XYZ | xyz(24.8628, 28.7478, 5.3376) |
| Luminance | 0.2875 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.07
Baby Poop Green
#8F9805
ΔE00 4.50
Vomit
#A2A415
ΔE00 5.04
Puke
#A5A502
ΔE00 5.40
Baby Poo
#AB9004
ΔE00 5.71
Brown Yellow
#B29705
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D951C #1C249D
analogous
#9D551C #9D951C #659D1C
triadic
#9D951C #1C9D95 #951C9D
tetradic
#9D951C #1C9D55 #1C249D #9D1C65
square
#9D951C #1C9D55 #1C249D #9D1C65
split-complementary
#9D951C #1C659D #551C9D
monochromatic
#353209 #696413 #9D951C #D1C625 #E0D853
Accessibility & contrast
On white
3.11
#9D951C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.75
#9D951C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D951C
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D951C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D951C | 1.00 | 3.11 | 6.75 | 6.75 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A69427
Tritanopia (blue-blind)
#A98A7F
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9d951c; /* rgb */ color: rgb(157, 149, 28); /* oklch */ color: oklch(65.6% 0.132 105.4);
Tailwind
colors: {
custom: {
50: '#beb365',
500: '#9d951c',
950: '#000000',
},
}SCSS
$custom: #9d951c; $custom-light: #beb365; $custom-dark: #000000;
JSON
{
"hex": "#9d951c",
"rgb": {
"r": 157,
"g": 149,
"b": 28
},
"hsl": {
"h": 56.279,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.65649,
"c": 0.13173,
"h": 105.4
},
"luminance": 0.28747
}Semantic roles & 50–950 ramp
primary
#9D951C
secondary
#5159C3
accent
#46ED3B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A