#969217#969217
#969217 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.3% C 0.132 H 107.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #969217 |
|---|---|
| RGB | rgb(150, 146, 23) |
| HSL | hsl(58, 73%, 34%) |
| HSV | hsv(58, 85%, 59%) |
| CMYK | cmyk(0%, 2.7%, 84.7%, 41.2%) |
| CIE-LAB | lab(59.07, -11.95, 58.63) |
| CIE-LCH | lch(59.07, 59.84, 101.52°) |
| OKLab | oklab(64.31% -0.0399 0.126) |
| OKLCH | oklch(64.31% 0.132 107.6) |
| XYZ | xyz(23.0122, 27.1045, 4.8300) |
| Luminance | 0.2710 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.41
Baby Poop Green
#8F9805
ΔE00 3.61
Baby Shit Green
#889717
ΔE00 4.99
Vomit
#A2A415
ΔE00 5.72
Puke
#A5A502
ΔE00 6.23
Olive
#808000
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#969217 #171B96
analogous
#965317 #969217 #5B9617
triadic
#969217 #179692 #921796
tetradic
#969217 #179653 #171B96 #96175B
square
#969217 #179653 #171B96 #96175B
split-complementary
#969217 #175B96 #531796
monochromatic
#2C2B07 #615E0F #969217 #CBC61F #E2DE45
Accessibility & contrast
On white
3.27
#969217 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#969217 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #969217
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##969217 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##969217 | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#A19023
Tritanopia (blue-blind)
#A2887C
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #969217; /* rgb */ color: rgb(150, 146, 23); /* oklch */ color: oklch(64.3% 0.132 107.6);
Tailwind
colors: {
custom: {
50: '#b9b162',
500: '#969217',
950: '#000000',
},
}SCSS
$custom: #969217; $custom-light: #b9b162; $custom-dark: #000000;
JSON
{
"hex": "#969217",
"rgb": {
"r": 150,
"g": 146,
"b": 23
},
"hsl": {
"h": 58.11,
"s": 73.41,
"l": 33.922
},
"oklch": {
"l": 0.64308,
"c": 0.13218,
"h": 107.6
},
"luminance": 0.27104
}Semantic roles & 50–950 ramp
primary
#969217
secondary
#4549C3
accent
#3EF038
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A