#968C27#968C27
#968C27 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.0% C 0.118 H 103.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #968C27 |
|---|---|
| RGB | rgb(150, 140, 39) |
| HSL | hsl(55, 59%, 37%) |
| HSV | hsv(55, 74%, 59%) |
| CMYK | cmyk(0%, 6.7%, 74%, 41.2%) |
| CIE-LAB | lab(57.45, -8.11, 52.07) |
| CIE-LCH | lch(57.45, 52.70, 98.85°) |
| OKLab | oklab(63.04% -0.0277 0.1151) |
| OKLCH | oklch(63.04% 0.118 103.6) |
| XYZ | xyz(22.3229, 25.3876, 5.6435) |
| Luminance | 0.2539 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 6.04
Diarrhea
#9F8303
ΔE00 6.18
Pea Soup
#929901
ΔE00 6.27
Baby Poo
#AB9004
ΔE00 6.28
Baby Poop Green
#8F9805
ΔE00 6.33
Baby Poop
#937C00
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968C27 #273196
analogous
#965527 #968C27 #689627
triadic
#968C27 #27968C #8C2796
tetradic
#968C27 #279655 #273196 #962768
square
#968C27 #279655 #273196 #962768
split-complementary
#968C27 #276896 #552796
monochromatic
#35310E #655F1A #968C27 #C7B934 #D6CC61
Accessibility & contrast
On white
3.46
#968C27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#968C27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968C27
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968C27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968C27 | 1.00 | 3.46 | 6.08 | 6.08 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998715
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#A28278
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #968c27; /* rgb */ color: rgb(150, 140, 39); /* oklch */ color: oklch(63.0% 0.118 103.6);
Tailwind
colors: {
custom: {
50: '#b8ad69',
500: '#968c27',
950: '#000000',
},
}SCSS
$custom: #968c27; $custom-light: #b8ad69; $custom-dark: #000000;
JSON
{
"hex": "#968c27",
"rgb": {
"r": 150,
"g": 140,
"b": 39
},
"hsl": {
"h": 54.595,
"s": 58.73,
"l": 37.059
},
"oklch": {
"l": 0.63043,
"c": 0.11835,
"h": 103.6
},
"luminance": 0.25387
}Semantic roles & 50–950 ramp
primary
#968C27
secondary
#5D66BC
accent
#54E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A