#998322#998322
#998322 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.3% C 0.114 H 95.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #998322 |
|---|---|
| RGB | rgb(153, 131, 34) |
| HSL | hsl(49, 64%, 37%) |
| HSV | hsv(49, 78%, 60%) |
| CMYK | cmyk(0%, 14.4%, 77.8%, 40%) |
| CIE-LAB | lab(55.20, -2.03, 51.90) |
| CIE-LCH | lch(55.20, 51.94, 92.24°) |
| OKLab | oklab(61.31% -0.0112 0.1136) |
| OKLCH | oklch(61.31% 0.114 95.6) |
| XYZ | xyz(21.5431, 23.1216, 4.8413) |
| Luminance | 0.2312 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.79
Baby Poop
#937C00
ΔE00 3.12
Dark Mustard
#A88905
ΔE00 4.47
Yellowish Brown
#9B7A01
ΔE00 4.47
Puke Brown
#947706
ΔE00 4.67
Hazel
#8E7618
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998322 #223899
analogous
#994822 #998322 #749922
triadic
#998322 #229983 #832299
tetradic
#998322 #229948 #223899 #992274
square
#998322 #229948 #223899 #992274
split-complementary
#998322 #227499 #482299
monochromatic
#352D0C #675817 #998322 #CBAE2D #DBC35B
Accessibility & contrast
On white
3.73
#998322 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#998322 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998322
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998322 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998322 | 1.00 | 3.73 | 5.62 | 5.62 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#978728
Tritanopia (blue-blind)
#A67870
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #998322; /* rgb */ color: rgb(153, 131, 34); /* oklch */ color: oklch(61.3% 0.114 95.6);
Tailwind
colors: {
custom: {
50: '#bba665',
500: '#998322',
950: '#000000',
},
}SCSS
$custom: #998322; $custom-light: #bba665; $custom-dark: #000000;
JSON
{
"hex": "#998322",
"rgb": {
"r": 153,
"g": 131,
"b": 34
},
"hsl": {
"h": 48.908,
"s": 63.636,
"l": 36.667
},
"oklch": {
"l": 0.61313,
"c": 0.11412,
"h": 95.6
},
"luminance": 0.2312
}Semantic roles & 50–950 ramp
primary
#998322
secondary
#586BBF
accent
#60E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A