#968C26#968C26
#968C26 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.0% C 0.119 H 103.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #968C26 |
|---|---|
| RGB | rgb(150, 140, 38) |
| HSL | hsl(55, 60%, 37%) |
| HSV | hsv(55, 75%, 59%) |
| CMYK | cmyk(0%, 6.7%, 74.7%, 41.2%) |
| CIE-LAB | lab(57.44, -8.16, 52.44) |
| CIE-LCH | lch(57.44, 53.07, 98.84°) |
| OKLab | oklab(63.04% -0.028 0.1157) |
| OKLCH | oklch(63.04% 0.119 103.6) |
| XYZ | xyz(22.3066, 25.3811, 5.5574) |
| Luminance | 0.2538 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 6.01
Diarrhea
#9F8303
ΔE00 6.15
Pea Soup
#929901
ΔE00 6.22
Baby Poo
#AB9004
ΔE00 6.23
Baby Poop Green
#8F9805
ΔE00 6.28
Baby Poop
#937C00
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968C26 #263096
analogous
#965426 #968C26 #689626
triadic
#968C26 #26968C #8C2696
tetradic
#968C26 #269654 #263096 #962668
square
#968C26 #269654 #263096 #962668
split-complementary
#968C26 #266896 #542696
monochromatic
#34310D #655E1A #968C26 #C7BA32 #D7CC60
Accessibility & contrast
On white
3.46
#968C26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#968C26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968C26
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968C26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968C26 | 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)
#998713
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#A28278
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #968c26; /* rgb */ color: rgb(150, 140, 38); /* oklch */ color: oklch(63.0% 0.119 103.6);
Tailwind
colors: {
custom: {
50: '#b8ad68',
500: '#968c26',
950: '#000000',
},
}SCSS
$custom: #968c26; $custom-light: #b8ad68; $custom-dark: #000000;
JSON
{
"hex": "#968c26",
"rgb": {
"r": 150,
"g": 140,
"b": 38
},
"hsl": {
"h": 54.643,
"s": 59.574,
"l": 36.863
},
"oklch": {
"l": 0.63035,
"c": 0.11899,
"h": 103.6
},
"luminance": 0.2538
}Semantic roles & 50–950 ramp
primary
#968C26
secondary
#5C64BC
accent
#53E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A