#968731#968731
#968731 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.0% C 0.107 H 99.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #968731 |
|---|---|
| RGB | rgb(150, 135, 49) |
| HSL | hsl(51, 51%, 39%) |
| HSV | hsv(51, 67%, 59%) |
| CMYK | cmyk(0%, 10%, 67.3%, 41.2%) |
| CIE-LAB | lab(56.12, -4.83, 46.60) |
| CIE-LCH | lch(56.12, 46.85, 95.91°) |
| OKLab | oklab(62.01% -0.0173 0.1053) |
| OKLCH | oklch(62.01% 0.107 99.3) |
| XYZ | xyz(21.7970, 24.0347, 6.3962) |
| Luminance | 0.2403 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.34
Baby Poop
#937C00
ΔE00 5.39
Dark Khaki
#9B8F55
ΔE00 5.85
Dark Mustard
#A88905
ΔE00 6.38
Hazel
#8E7618
ΔE00 6.54
Olive
#808000
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968731 #314096
analogous
#965531 #968731 #739631
triadic
#968731 #319687 #873196
tetradic
#968731 #319655 #314096 #963173
square
#968731 #319655 #314096 #963173
split-complementary
#968731 #317396 #553196
monochromatic
#3A3413 #685D22 #968731 #C1AF43 #D1C271
Accessibility & contrast
On white
3.62
#968731 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#968731 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968731
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968731 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968731 | 1.00 | 3.62 | 5.81 | 5.81 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948326
Deuteranopia (green-blind)
#988936
Tritanopia (blue-blind)
#A17D75
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #968731; /* rgb */ color: rgb(150, 135, 49); /* oklch */ color: oklch(62.0% 0.107 99.3);
Tailwind
colors: {
custom: {
50: '#b8a96e',
500: '#968731',
950: '#000000',
},
}SCSS
$custom: #968731; $custom-light: #b8a96e; $custom-dark: #000000;
JSON
{
"hex": "#968731",
"rgb": {
"r": 150,
"g": 135,
"b": 49
},
"hsl": {
"h": 51.089,
"s": 50.754,
"l": 39.02
},
"oklch": {
"l": 0.62011,
"c": 0.10673,
"h": 99.3
},
"luminance": 0.24034
}Semantic roles & 50–950 ramp
primary
#968731
secondary
#6A76B8
accent
#62DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A