#958726#958726
#958726 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.8% C 0.115 H 100.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #958726 |
|---|---|
| RGB | rgb(149, 135, 38) |
| HSL | hsl(52, 59%, 37%) |
| HSV | hsv(52, 74%, 58%) |
| CMYK | cmyk(0%, 9.4%, 74.5%, 41.6%) |
| CIE-LAB | lab(55.95, -5.89, 50.97) |
| CIE-LCH | lch(55.95, 51.31, 96.59°) |
| OKLab | oklab(61.82% -0.0215 0.1126) |
| OKLCH | oklch(61.82% 0.115 100.8) |
| XYZ | xyz(21.4092, 23.8584, 5.3108) |
| Luminance | 0.2386 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.83
Diarrhea
#9F8303
ΔE00 4.86
Olive
#808000
ΔE00 5.78
Dark Mustard
#A88905
ΔE00 5.99
Baby Poo
#AB9004
ΔE00 6.31
Hazel
#8E7618
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958726 #263495
analogous
#954F26 #958726 #6C9526
triadic
#958726 #269587 #872695
tetradic
#958726 #26954F #263495 #95266C
square
#958726 #26954F #263495 #95266C
split-complementary
#958726 #266C95 #4F2695
monochromatic
#332F0D #645B1A #958726 #C6B332 #D6C75F
Accessibility & contrast
On white
3.64
#958726 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#958726 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958726
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958726 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958726 | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948315
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#A17D74
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #958726; /* rgb */ color: rgb(149, 135, 38); /* oklch */ color: oklch(61.8% 0.115 100.8);
Tailwind
colors: {
custom: {
50: '#b8a968',
500: '#958726',
950: '#000000',
},
}SCSS
$custom: #958726; $custom-light: #b8a968; $custom-dark: #000000;
JSON
{
"hex": "#958726",
"rgb": {
"r": 149,
"g": 135,
"b": 38
},
"hsl": {
"h": 52.432,
"s": 59.358,
"l": 36.667
},
"oklch": {
"l": 0.61822,
"c": 0.11462,
"h": 100.8
},
"luminance": 0.23857
}Semantic roles & 50–950 ramp
primary
#958726
secondary
#5B67BB
accent
#59E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A