#968126#968126
#968126 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.6% C 0.110 H 95.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #968126 |
|---|---|
| RGB | rgb(150, 129, 38) |
| HSL | hsl(49, 60%, 37%) |
| HSV | hsv(49, 75%, 59%) |
| CMYK | cmyk(0%, 14%, 74.7%, 41.2%) |
| CIE-LAB | lab(54.37, -2.12, 49.48) |
| CIE-LCH | lch(54.37, 49.53, 92.45°) |
| OKLab | oklab(60.6% -0.0108 0.1094) |
| OKLCH | oklch(60.6% 0.11 95.7) |
| XYZ | xyz(20.7789, 22.3256, 5.0481) |
| Luminance | 0.2232 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.08
Diarrhea
#9F8303
ΔE00 3.66
Hazel
#8E7618
ΔE00 4.11
Puke Brown
#947706
ΔE00 4.38
Yellowish Brown
#9B7A01
ΔE00 4.56
Dark Mustard
#A88905
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968126 #263B96
analogous
#964926 #968126 #739626
triadic
#968126 #269681 #812696
tetradic
#968126 #269649 #263B96 #962673
square
#968126 #269649 #263B96 #962673
split-complementary
#968126 #267396 #492696
monochromatic
#342D0D #65571A #968126 #C7AB32 #D7C060
Accessibility & contrast
On white
3.84
#968126 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#968126 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968126
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968126 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968126 | 1.00 | 3.84 | 5.46 | 5.46 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E17
Deuteranopia (green-blind)
#94852B
Tritanopia (blue-blind)
#A2776F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #968126; /* rgb */ color: rgb(150, 129, 38); /* oklch */ color: oklch(60.6% 0.110 95.7);
Tailwind
colors: {
custom: {
50: '#b8a567',
500: '#968126',
950: '#000000',
},
}SCSS
$custom: #968126; $custom-light: #b8a567; $custom-dark: #000000;
JSON
{
"hex": "#968126",
"rgb": {
"r": 150,
"g": 129,
"b": 38
},
"hsl": {
"h": 48.75,
"s": 59.574,
"l": 36.863
},
"oklch": {
"l": 0.60597,
"c": 0.10992,
"h": 95.7
},
"luminance": 0.22324
}Semantic roles & 50–950 ramp
primary
#968126
secondary
#5C6EBC
accent
#63E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A