#968229#968229
#968229 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.8% C 0.109 H 96.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #968229 |
|---|---|
| RGB | rgb(150, 130, 41) |
| HSL | hsl(49, 57%, 37%) |
| HSV | hsv(49, 73%, 59%) |
| CMYK | cmyk(0%, 13.3%, 72.7%, 41.2%) |
| CIE-LAB | lab(54.67, -2.52, 48.55) |
| CIE-LCH | lch(54.67, 48.62, 92.97°) |
| OKLab | oklab(60.84% -0.0117 0.108) |
| OKLCH | oklch(60.84% 0.109 96.2) |
| XYZ | xyz(20.9616, 22.6105, 5.3576) |
| Luminance | 0.2261 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.53
Diarrhea
#9F8303
ΔE00 3.96
Hazel
#8E7618
ΔE00 4.50
Puke Brown
#947706
ΔE00 4.87
Yellowish Brown
#9B7A01
ΔE00 5.05
Dark Mustard
#A88905
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968229 #293D96
analogous
#964C29 #968229 #739629
triadic
#968229 #299682 #822996
tetradic
#968229 #29964C #293D96 #962973
square
#968229 #29964C #293D96 #962973
split-complementary
#968229 #297396 #4C2996
monochromatic
#362F0F #66581C #968229 #C6AC36 #D5C065
Accessibility & contrast
On white
3.80
#968229 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#968229 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968229
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968229 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968229 | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F1C
Deuteranopia (green-blind)
#95862E
Tritanopia (blue-blind)
#A27870
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #968229; /* rgb */ color: rgb(150, 130, 41); /* oklch */ color: oklch(60.8% 0.109 96.2);
Tailwind
colors: {
custom: {
50: '#b8a669',
500: '#968229',
950: '#000000',
},
}SCSS
$custom: #968229; $custom-light: #b8a669; $custom-dark: #000000;
JSON
{
"hex": "#968229",
"rgb": {
"r": 150,
"g": 130,
"b": 41
},
"hsl": {
"h": 48.991,
"s": 57.068,
"l": 37.451
},
"oklch": {
"l": 0.60839,
"c": 0.10864,
"h": 96.2
},
"luminance": 0.22609
}Semantic roles & 50–950 ramp
primary
#968229
secondary
#6071BB
accent
#64E047
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A