#958331#958331
#958331 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.0% C 0.103 H 96.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #958331 |
|---|---|
| RGB | rgb(149, 131, 49) |
| HSL | hsl(49, 51%, 39%) |
| HSV | hsv(49, 67%, 58%) |
| CMYK | cmyk(0%, 12.1%, 67.1%, 41.6%) |
| CIE-LAB | lab(54.91, -3.07, 45.30) |
| CIE-LCH | lch(54.91, 45.40, 93.87°) |
| OKLab | oklab(61.03% -0.0122 0.1026) |
| OKLCH | oklch(61.03% 0.103 96.8) |
| XYZ | xyz(21.0661, 22.8449, 6.2050) |
| Luminance | 0.2284 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.61
Diarrhea
#9F8303
ΔE00 5.03
Hazel
#8E7618
ΔE00 5.14
Puke Brown
#947706
ΔE00 5.81
Yellowish Brown
#9B7A01
ΔE00 6.08
Dark Khaki
#9B8F55
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958331 #314395
analogous
#955131 #958331 #759531
triadic
#958331 #319583 #833195
tetradic
#958331 #319551 #314395 #953175
square
#958331 #319551 #314395 #953175
split-complementary
#958331 #317595 #513195
monochromatic
#393213 #675B22 #958331 #C1AA42 #D0BF70
Accessibility & contrast
On white
3.77
#958331 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#958331 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958331
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958331 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958331 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908027
Deuteranopia (green-blind)
#958635
Tritanopia (blue-blind)
#A17972
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #958331; /* rgb */ color: rgb(149, 131, 49); /* oklch */ color: oklch(61.0% 0.103 96.8);
Tailwind
colors: {
custom: {
50: '#b7a66d',
500: '#958331',
950: '#000000',
},
}SCSS
$custom: #958331; $custom-light: #b7a66d; $custom-dark: #000000;
JSON
{
"hex": "#958331",
"rgb": {
"r": 149,
"g": 131,
"b": 49
},
"hsl": {
"h": 49.2,
"s": 50.505,
"l": 38.824
},
"oklch": {
"l": 0.6103,
"c": 0.10331,
"h": 96.8
},
"luminance": 0.22844
}Semantic roles & 50–950 ramp
primary
#958331
secondary
#6A78B8
accent
#67DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A