#998326#998326
#998326 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.3% C 0.112 H 95.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #998326 |
|---|---|
| RGB | rgb(153, 131, 38) |
| HSL | hsl(49, 60%, 37%) |
| HSV | hsv(49, 75%, 60%) |
| CMYK | cmyk(0%, 14.4%, 75.2%, 40%) |
| CIE-LAB | lab(55.22, -1.85, 50.41) |
| CIE-LCH | lch(55.22, 50.44, 92.10°) |
| OKLab | oklab(61.34% -0.0103 0.1112) |
| OKLCH | oklch(61.34% 0.112 95.3) |
| XYZ | xyz(21.6042, 23.1460, 5.1630) |
| Luminance | 0.2314 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.13
Baby Poop
#937C00
ΔE00 3.41
Yellowish Brown
#9B7A01
ΔE00 4.61
Dark Mustard
#A88905
ΔE00 4.72
Puke Brown
#947706
ΔE00 4.77
Hazel
#8E7618
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998326 #263C99
analogous
#994A26 #998326 #759926
triadic
#998326 #269983 #832699
tetradic
#998326 #26994A #263C99 #992675
square
#998326 #26994A #263C99 #992675
split-complementary
#998326 #267599 #4A2699
monochromatic
#372F0E #68591A #998326 #CAAD32 #D8C162
Accessibility & contrast
On white
3.73
#998326 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#998326 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998326
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998326 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998326 | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918016
Deuteranopia (green-blind)
#97872C
Tritanopia (blue-blind)
#A67871
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #998326; /* rgb */ color: rgb(153, 131, 38); /* oklch */ color: oklch(61.3% 0.112 95.3);
Tailwind
colors: {
custom: {
50: '#bba667',
500: '#998326',
950: '#000000',
},
}SCSS
$custom: #998326; $custom-light: #bba667; $custom-dark: #000000;
JSON
{
"hex": "#998326",
"rgb": {
"r": 153,
"g": 131,
"b": 38
},
"hsl": {
"h": 48.522,
"s": 60.209,
"l": 37.451
},
"oklch": {
"l": 0.61341,
"c": 0.11169,
"h": 95.3
},
"luminance": 0.23145
}Semantic roles & 50–950 ramp
primary
#998326
secondary
#5E70BD
accent
#63E344
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A