#958F28#958F28
#958F28 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.6% C 0.121 H 106.0°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #958F28 |
|---|---|
| RGB | rgb(149, 143, 40) |
| HSL | hsl(57, 58%, 37%) |
| HSV | hsv(57, 73%, 58%) |
| CMYK | cmyk(0%, 4%, 73.2%, 41.6%) |
| CIE-LAB | lab(58.22, -10.13, 52.40) |
| CIE-LCH | lch(58.22, 53.37, 100.94°) |
| OKLab | oklab(63.63% -0.0333 0.116) |
| OKLCH | oklch(63.63% 0.121 106) |
| XYZ | xyz(22.6008, 26.1885, 5.8715) |
| Luminance | 0.2619 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.02
Baby Poop Green
#8F9805
ΔE00 5.03
Baby Shit Green
#889717
ΔE00 5.76
Olive
#808000
ΔE00 6.26
Baby Poo
#AB9004
ΔE00 7.02
Vomit
#A2A415
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958F28 #282E95
analogous
#955828 #958F28 #659528
triadic
#958F28 #28958F #8F2895
tetradic
#958F28 #289558 #282E95 #952865
square
#958F28 #289558 #282E95 #952865
split-complementary
#958F28 #286595 #582895
monochromatic
#35320E #65611B #958F28 #C5BD35 #D5CF62
Accessibility & contrast
On white
3.37
#958F28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#958F28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958F28
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958F28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958F28 | 1.00 | 3.37 | 6.24 | 6.24 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8A16
Deuteranopia (green-blind)
#9E8E2F
Tritanopia (blue-blind)
#A0857B
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #958f28; /* rgb */ color: rgb(149, 143, 40); /* oklch */ color: oklch(63.6% 0.121 106.0);
Tailwind
colors: {
custom: {
50: '#b7af69',
500: '#958f28',
950: '#000000',
},
}SCSS
$custom: #958f28; $custom-light: #b7af69; $custom-dark: #000000;
JSON
{
"hex": "#958f28",
"rgb": {
"r": 149,
"g": 143,
"b": 40
},
"hsl": {
"h": 56.697,
"s": 57.672,
"l": 37.059
},
"oklch": {
"l": 0.63631,
"c": 0.12065,
"h": 106
},
"luminance": 0.26188
}Semantic roles & 50–950 ramp
primary
#958F28
secondary
#5E63BB
accent
#4FE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A