#959229#959229
#959229 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.3% C 0.123 H 107.8°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #959229 |
|---|---|
| RGB | rgb(149, 146, 41) |
| HSL | hsl(58, 57%, 37%) |
| HSV | hsv(58, 72%, 58%) |
| CMYK | cmyk(0%, 2%, 72.5%, 41.6%) |
| CIE-LAB | lab(59.07, -11.68, 52.85) |
| CIE-LCH | lch(59.07, 54.13, 102.47°) |
| OKLab | oklab(64.32% -0.0375 0.1171) |
| OKLCH | oklch(64.32% 0.123 107.8) |
| XYZ | xyz(23.0744, 27.1082, 6.1143) |
| Luminance | 0.2711 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.04
Pea Soup
#929901
ΔE00 4.05
Baby Shit Green
#889717
ΔE00 4.76
Vomit
#A2A415
ΔE00 6.27
Olive
#808000
ΔE00 6.87
Puke
#A5A502
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#959229 #292C95
analogous
#955C29 #959229 #629529
triadic
#959229 #299592 #922995
tetradic
#959229 #29955C #292C95 #952962
square
#959229 #29955C #292C95 #952962
split-complementary
#959229 #296295 #5C2995
monochromatic
#35340F #65631C #959229 #C5C136 #D4D164
Accessibility & contrast
On white
3.27
#959229 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#959229 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #959229
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##959229 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##959229 | 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)
#9E8C17
Deuteranopia (green-blind)
#A09031
Tritanopia (blue-blind)
#A0887E
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #959229; /* rgb */ color: rgb(149, 146, 41); /* oklch */ color: oklch(64.3% 0.123 107.8);
Tailwind
colors: {
custom: {
50: '#b7b16a',
500: '#959229',
950: '#000000',
},
}SCSS
$custom: #959229; $custom-light: #b7b16a; $custom-dark: #000000;
JSON
{
"hex": "#959229",
"rgb": {
"r": 149,
"g": 146,
"b": 41
},
"hsl": {
"h": 58.333,
"s": 56.842,
"l": 37.255
},
"oklch": {
"l": 0.64318,
"c": 0.12299,
"h": 107.8
},
"luminance": 0.27107
}Semantic roles & 50–950 ramp
primary
#959229
secondary
#6062BA
accent
#4CE048
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#121007
muted
#817F7A