#968331#968331
#968331 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.1% C 0.103 H 96.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #968331 |
|---|---|
| RGB | rgb(150, 131, 49) |
| HSL | hsl(49, 51%, 39%) |
| HSV | hsv(49, 67%, 59%) |
| CMYK | cmyk(0%, 12.7%, 67.3%, 41.2%) |
| CIE-LAB | lab(55.01, -2.61, 45.43) |
| CIE-LCH | lch(55.01, 45.51, 93.29°) |
| OKLab | oklab(61.13% -0.011 0.1028) |
| OKLCH | oklch(61.13% 0.103 96.1) |
| XYZ | xyz(21.2493, 22.9394, 6.2136) |
| Luminance | 0.2294 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.54
Diarrhea
#9F8303
ΔE00 4.84
Hazel
#8E7618
ΔE00 5.08
Puke Brown
#947706
ΔE00 5.66
Yellowish Brown
#9B7A01
ΔE00 5.85
Dark Mustard
#A88905
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968331 #314496
analogous
#965131 #968331 #779631
triadic
#968331 #319683 #833196
tetradic
#968331 #319651 #314496 #963177
square
#968331 #319651 #314496 #963177
split-complementary
#968331 #317796 #513196
monochromatic
#3A3213 #685B22 #968331 #C1AA43 #D1BF71
Accessibility & contrast
On white
3.76
#968331 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#968331 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968331
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968331 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968331 | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908027
Deuteranopia (green-blind)
#958635
Tritanopia (blue-blind)
#A27972
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #968331; /* rgb */ color: rgb(150, 131, 49); /* oklch */ color: oklch(61.1% 0.103 96.1);
Tailwind
colors: {
custom: {
50: '#b8a66d',
500: '#968331',
950: '#000000',
},
}SCSS
$custom: #968331; $custom-light: #b8a66d; $custom-dark: #000000;
JSON
{
"hex": "#968331",
"rgb": {
"r": 150,
"g": 131,
"b": 49
},
"hsl": {
"h": 48.713,
"s": 50.754,
"l": 39.02
},
"oklch": {
"l": 0.6113,
"c": 0.10342,
"h": 96.1
},
"luminance": 0.22938
}Semantic roles & 50–950 ramp
primary
#968331
secondary
#6A79B8
accent
#68DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A