#998320#998320
#998320 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.3% C 0.115 H 95.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #998320 |
|---|---|
| RGB | rgb(153, 131, 32) |
| HSL | hsl(49, 65%, 36%) |
| HSV | hsv(49, 79%, 60%) |
| CMYK | cmyk(0%, 14.4%, 79.1%, 40%) |
| CIE-LAB | lab(55.19, -2.11, 52.61) |
| CIE-LCH | lch(55.19, 52.65, 92.30°) |
| OKLab | oklab(61.3% -0.0117 0.1147) |
| OKLCH | oklch(61.3% 0.115 95.8) |
| XYZ | xyz(21.5150, 23.1104, 4.6937) |
| Luminance | 0.2311 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.64
Baby Poop
#937C00
ΔE00 3.00
Dark Mustard
#A88905
ΔE00 4.37
Yellowish Brown
#9B7A01
ΔE00 4.42
Puke Brown
#947706
ΔE00 4.64
Hazel
#8E7618
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998320 #203699
analogous
#994720 #998320 #739920
triadic
#998320 #209983 #832099
tetradic
#998320 #209947 #203699 #992073
square
#998320 #209947 #203699 #992073
split-complementary
#998320 #207399 #472099
monochromatic
#342C0B #665815 #998320 #CCAE2B #DCC457
Accessibility & contrast
On white
3.74
#998320 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#998320 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998320
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998320 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998320 | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 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)
#91800A
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#A67870
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #998320; /* rgb */ color: rgb(153, 131, 32); /* oklch */ color: oklch(61.3% 0.115 95.8);
Tailwind
colors: {
custom: {
50: '#bba664',
500: '#998320',
950: '#000000',
},
}SCSS
$custom: #998320; $custom-light: #bba664; $custom-dark: #000000;
JSON
{
"hex": "#998320",
"rgb": {
"r": 153,
"g": 131,
"b": 32
},
"hsl": {
"h": 49.091,
"s": 65.405,
"l": 36.275
},
"oklch": {
"l": 0.613,
"c": 0.11525,
"h": 95.8
},
"luminance": 0.23109
}Semantic roles & 50–950 ramp
primary
#998320
secondary
#5568C0
accent
#5EE83F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A