#968225#968225
#968225 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.8% C 0.111 H 96.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #968225 |
|---|---|
| RGB | rgb(150, 130, 37) |
| HSL | hsl(49, 60%, 37%) |
| HSV | hsv(49, 75%, 59%) |
| CMYK | cmyk(0%, 13.3%, 75.3%, 41.2%) |
| CIE-LAB | lab(54.64, -2.72, 50.14) |
| CIE-LCH | lch(54.64, 50.21, 93.11°) |
| OKLab | oklab(60.81% -0.0127 0.1106) |
| OKLCH | oklch(60.81% 0.111 96.5) |
| XYZ | xyz(20.8953, 22.5840, 5.0084) |
| Luminance | 0.2258 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.16
Diarrhea
#9F8303
ΔE00 3.61
Hazel
#8E7618
ΔE00 4.47
Puke Brown
#947706
ΔE00 4.72
Yellowish Brown
#9B7A01
ΔE00 4.87
Dark Mustard
#A88905
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968225 #253996
analogous
#964A25 #968225 #729625
triadic
#968225 #259682 #822596
tetradic
#968225 #25964A #253996 #962572
square
#968225 #25964A #253996 #962572
split-complementary
#968225 #257296 #4A2596
monochromatic
#342D0D #655719 #968225 #C7AD31 #D7C25E
Accessibility & contrast
On white
3.81
#968225 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#968225 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968225
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968225 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968225 | 1.00 | 3.81 | 5.52 | 5.52 |
| #FFFFFF | 3.81 | 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)
#907F15
Deuteranopia (green-blind)
#95852B
Tritanopia (blue-blind)
#A27870
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #968225; /* rgb */ color: rgb(150, 130, 37); /* oklch */ color: oklch(60.8% 0.111 96.5);
Tailwind
colors: {
custom: {
50: '#b8a666',
500: '#968225',
950: '#000000',
},
}SCSS
$custom: #968225; $custom-light: #b8a666; $custom-dark: #000000;
JSON
{
"hex": "#968225",
"rgb": {
"r": 150,
"g": 130,
"b": 37
},
"hsl": {
"h": 49.381,
"s": 60.428,
"l": 36.667
},
"oklch": {
"l": 0.60809,
"c": 0.11129,
"h": 96.5
},
"luminance": 0.22583
}Semantic roles & 50–950 ramp
primary
#968225
secondary
#5B6CBC
accent
#60E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A