#968128#968128
#968128 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.6% C 0.109 H 95.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #968128 |
|---|---|
| RGB | rgb(150, 129, 40) |
| HSL | hsl(49, 58%, 37%) |
| HSV | hsv(49, 73%, 59%) |
| CMYK | cmyk(0%, 14%, 73.3%, 41.2%) |
| CIE-LAB | lab(54.38, -2.02, 48.69) |
| CIE-LCH | lch(54.38, 48.73, 92.37°) |
| OKLab | oklab(60.61% -0.0103 0.1081) |
| OKLCH | oklch(60.61% 0.109 95.5) |
| XYZ | xyz(20.8120, 22.3389, 5.2227) |
| Luminance | 0.2234 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.29
Diarrhea
#9F8303
ΔE00 3.85
Hazel
#8E7618
ΔE00 4.13
Puke Brown
#947706
ΔE00 4.47
Yellowish Brown
#9B7A01
ΔE00 4.67
Poo
#8F7303
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968128 #283D96
analogous
#964A28 #968128 #749628
triadic
#968128 #289681 #812896
tetradic
#968128 #28964A #283D96 #962874
square
#968128 #28964A #283D96 #962874
split-complementary
#968128 #287496 #4A2896
monochromatic
#352E0E #66571B #968128 #C6AB35 #D5C063
Accessibility & contrast
On white
3.84
#968128 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#968128 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968128
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968128 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968128 | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E1A
Deuteranopia (green-blind)
#94852D
Tritanopia (blue-blind)
#A2776F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #968128; /* rgb */ color: rgb(150, 129, 40); /* oklch */ color: oklch(60.6% 0.109 95.5);
Tailwind
colors: {
custom: {
50: '#b8a568',
500: '#968128',
950: '#000000',
},
}SCSS
$custom: #968128; $custom-light: #b8a568; $custom-dark: #000000;
JSON
{
"hex": "#968128",
"rgb": {
"r": 150,
"g": 129,
"b": 40
},
"hsl": {
"h": 48.545,
"s": 57.895,
"l": 37.255
},
"oklch": {
"l": 0.60612,
"c": 0.10858,
"h": 95.5
},
"luminance": 0.22338
}Semantic roles & 50–950 ramp
primary
#968128
secondary
#5F70BB
accent
#64E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A