#988522#988522
#988522 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.6% C 0.116 H 97.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #988522 |
|---|---|
| RGB | rgb(152, 133, 34) |
| HSL | hsl(50, 63%, 36%) |
| HSV | hsv(50, 78%, 60%) |
| CMYK | cmyk(0%, 12.5%, 77.6%, 40.4%) |
| CIE-LAB | lab(55.65, -3.60, 52.29) |
| CIE-LCH | lch(55.65, 52.41, 93.94°) |
| OKLab | oklab(61.65% -0.0156 0.1144) |
| OKLCH | oklch(61.65% 0.116 97.8) |
| XYZ | xyz(21.6263, 23.5671, 4.9229) |
| Luminance | 0.2357 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.33
Baby Poop
#937C00
ΔE00 3.66
Dark Mustard
#A88905
ΔE00 4.74
Yellowish Brown
#9B7A01
ΔE00 5.48
Hazel
#8E7618
ΔE00 5.58
Puke Brown
#947706
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988522 #223598
analogous
#984A22 #988522 #709822
triadic
#988522 #229885 #852298
tetradic
#988522 #22984A #223598 #982270
square
#988522 #22984A #223598 #982270
split-complementary
#988522 #227098 #4A2298
monochromatic
#342D0C #665917 #988522 #CAB12D #DAC65A
Accessibility & contrast
On white
3.68
#988522 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#988522 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988522
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988522 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988522 | 1.00 | 3.68 | 5.71 | 5.71 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93820E
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#A47A72
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #988522; /* rgb */ color: rgb(152, 133, 34); /* oklch */ color: oklch(61.6% 0.116 97.8);
Tailwind
colors: {
custom: {
50: '#baa865',
500: '#988522',
950: '#000000',
},
}SCSS
$custom: #988522; $custom-light: #baa865; $custom-dark: #000000;
JSON
{
"hex": "#988522",
"rgb": {
"r": 152,
"g": 133,
"b": 34
},
"hsl": {
"h": 50.339,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.61649,
"c": 0.1155,
"h": 97.8
},
"luminance": 0.23566
}Semantic roles & 50–950 ramp
primary
#988522
secondary
#5768BE
accent
#5CE641
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A