#968231#968231
#968231 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.9% C 0.103 H 95.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #968231 |
|---|---|
| RGB | rgb(150, 130, 49) |
| HSL | hsl(48, 51%, 39%) |
| HSV | hsv(48, 67%, 59%) |
| CMYK | cmyk(0%, 13.3%, 67.3%, 41.2%) |
| CIE-LAB | lab(54.73, -2.06, 45.14) |
| CIE-LCH | lch(54.73, 45.18, 92.61°) |
| OKLab | oklab(60.91% -0.0094 0.1022) |
| OKLCH | oklch(60.91% 0.103 95.2) |
| XYZ | xyz(21.1157, 22.6721, 6.1691) |
| Luminance | 0.2267 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.44
Hazel
#8E7618
ΔE00 4.76
Diarrhea
#9F8303
ΔE00 4.82
Puke Brown
#947706
ΔE00 5.35
Yellowish Brown
#9B7A01
ΔE00 5.57
Dark Mustard
#A88905
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968231 #314596
analogous
#965031 #968231 #789631
triadic
#968231 #319682 #823196
tetradic
#968231 #319650 #314596 #963178
square
#968231 #319650 #314596 #963178
split-complementary
#968231 #317896 #503196
monochromatic
#3A3213 #685A22 #968231 #C1A843 #D1BE71
Accessibility & contrast
On white
3.79
#968231 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#968231 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968231
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968231 | 1.00 | 3.79 | 5.53 | 5.53 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F27
Deuteranopia (green-blind)
#948635
Tritanopia (blue-blind)
#A27871
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #968231; /* rgb */ color: rgb(150, 130, 49); /* oklch */ color: oklch(60.9% 0.103 95.2);
Tailwind
colors: {
custom: {
50: '#b8a66d',
500: '#968231',
950: '#000000',
},
}SCSS
$custom: #968231; $custom-light: #b8a66d; $custom-dark: #000000;
JSON
{
"hex": "#968231",
"rgb": {
"r": 150,
"g": 130,
"b": 49
},
"hsl": {
"h": 48.119,
"s": 50.754,
"l": 39.02
},
"oklch": {
"l": 0.60911,
"c": 0.10265,
"h": 95.2
},
"luminance": 0.22671
}Semantic roles & 50–950 ramp
primary
#968231
secondary
#6A7AB8
accent
#69DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A