#988321#988321
#988321 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.2% C 0.115 H 96.4°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #988321 |
|---|---|
| RGB | rgb(152, 131, 33) |
| HSL | hsl(49, 64%, 36%) |
| HSV | hsv(49, 78%, 60%) |
| CMYK | cmyk(0%, 13.8%, 78.3%, 40.4%) |
| CIE-LAB | lab(55.09, -2.53, 52.13) |
| CIE-LCH | lch(55.09, 52.19, 92.78°) |
| OKLab | oklab(61.2% -0.0127 0.1139) |
| OKLCH | oklch(61.2% 0.115 96.4) |
| XYZ | xyz(21.3408, 23.0190, 4.7576) |
| Luminance | 0.2302 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.94
Baby Poop
#937C00
ΔE00 3.05
Dark Mustard
#A88905
ΔE00 4.65
Yellowish Brown
#9B7A01
ΔE00 4.66
Puke Brown
#947706
ΔE00 4.76
Hazel
#8E7618
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988321 #213698
analogous
#984821 #988321 #729821
triadic
#988321 #219883 #832198
tetradic
#988321 #219848 #213698 #982172
square
#988321 #219848 #213698 #982172
split-complementary
#988321 #217298 #482198
monochromatic
#332C0B #665816 #988321 #CAAE2C #DBC459
Accessibility & contrast
On white
3.75
#988321 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#988321 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988321
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988321 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988321 | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91800D
Deuteranopia (green-blind)
#968728
Tritanopia (blue-blind)
#A57870
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #988321; /* rgb */ color: rgb(152, 131, 33); /* oklch */ color: oklch(61.2% 0.115 96.4);
Tailwind
colors: {
custom: {
50: '#baa665',
500: '#988321',
950: '#000000',
},
}SCSS
$custom: #988321; $custom-light: #baa665; $custom-dark: #000000;
JSON
{
"hex": "#988321",
"rgb": {
"r": 152,
"g": 131,
"b": 33
},
"hsl": {
"h": 49.412,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.61204,
"c": 0.1146,
"h": 96.4
},
"luminance": 0.23018
}Semantic roles & 50–950 ramp
primary
#988321
secondary
#5668BF
accent
#5EE740
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A