#998325#998325
#998325 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.3% C 0.112 H 95.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #998325 |
|---|---|
| RGB | rgb(153, 131, 37) |
| HSL | hsl(49, 61%, 37%) |
| HSV | hsv(49, 76%, 60%) |
| CMYK | cmyk(0%, 14.4%, 75.8%, 40%) |
| CIE-LAB | lab(55.22, -1.90, 50.79) |
| CIE-LCH | lch(55.22, 50.83, 92.14°) |
| OKLab | oklab(61.33% -0.0105 0.1118) |
| OKLCH | oklch(61.33% 0.112 95.4) |
| XYZ | xyz(21.5882, 23.1397, 5.0792) |
| Luminance | 0.2314 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.04
Baby Poop
#937C00
ΔE00 3.33
Yellowish Brown
#9B7A01
ΔE00 4.57
Dark Mustard
#A88905
ΔE00 4.65
Puke Brown
#947706
ΔE00 4.74
Hazel
#8E7618
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998325 #253B99
analogous
#994925 #998325 #759925
triadic
#998325 #259983 #832599
tetradic
#998325 #259949 #253B99 #992575
square
#998325 #259949 #253B99 #992575
split-complementary
#998325 #257599 #492599
monochromatic
#362F0D #685919 #998325 #CAAD31 #D9C260
Accessibility & contrast
On white
3.73
#998325 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#998325 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998325
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998325 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998325 | 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)
#918015
Deuteranopia (green-blind)
#97872B
Tritanopia (blue-blind)
#A67871
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #998325; /* rgb */ color: rgb(153, 131, 37); /* oklch */ color: oklch(61.3% 0.112 95.4);
Tailwind
colors: {
custom: {
50: '#bba667',
500: '#998325',
950: '#000000',
},
}SCSS
$custom: #998325; $custom-light: #bba667; $custom-dark: #000000;
JSON
{
"hex": "#998325",
"rgb": {
"r": 153,
"g": 131,
"b": 37
},
"hsl": {
"h": 48.621,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.61333,
"c": 0.11232,
"h": 95.4
},
"luminance": 0.23138
}Semantic roles & 50–950 ramp
primary
#998325
secondary
#5C6FBE
accent
#62E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A