#959226#959226
#959226 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.3% C 0.125 H 107.8°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #959226 |
|---|---|
| RGB | rgb(149, 146, 38) |
| HSL | hsl(58, 59%, 37%) |
| HSV | hsv(58, 74%, 58%) |
| CMYK | cmyk(0%, 2%, 74.5%, 41.6%) |
| CIE-LAB | lab(59.06, -11.83, 53.94) |
| CIE-LCH | lch(59.06, 55.22, 102.37°) |
| OKLab | oklab(64.3% -0.0382 0.1189) |
| OKLCH | oklch(64.3% 0.125 107.8) |
| XYZ | xyz(23.0240, 27.0880, 5.8490) |
| Luminance | 0.2709 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.84
Baby Poop Green
#8F9805
ΔE00 3.86
Baby Shit Green
#889717
ΔE00 4.70
Vomit
#A2A415
ΔE00 6.13
Puke
#A5A502
ΔE00 6.81
Olive
#808000
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#959226 #262995
analogous
#955B26 #959226 #619526
triadic
#959226 #269592 #922695
tetradic
#959226 #26955B #262995 #952661
square
#959226 #26955B #262995 #952661
split-complementary
#959226 #266195 #5B2695
monochromatic
#33320D #64621A #959226 #C6C232 #D6D35F
Accessibility & contrast
On white
3.27
#959226 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#959226 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #959226
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##959226 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##959226 | 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)
#9F8C11
Deuteranopia (green-blind)
#A0902E
Tritanopia (blue-blind)
#A0887D
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #959226; /* rgb */ color: rgb(149, 146, 38); /* oklch */ color: oklch(64.3% 0.125 107.8);
Tailwind
colors: {
custom: {
50: '#b7b169',
500: '#959226',
950: '#000000',
},
}SCSS
$custom: #959226; $custom-light: #b7b169; $custom-dark: #000000;
JSON
{
"hex": "#959226",
"rgb": {
"r": 149,
"g": 146,
"b": 38
},
"hsl": {
"h": 58.378,
"s": 59.358,
"l": 36.667
},
"oklch": {
"l": 0.64297,
"c": 0.12488,
"h": 107.8
},
"luminance": 0.27087
}Semantic roles & 50–950 ramp
primary
#959226
secondary
#5B5EBB
accent
#4AE345
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#121007
muted
#817F7A