#998331#998331
#998331 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.4% C 0.104 H 94.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #998331 |
|---|---|
| RGB | rgb(153, 131, 49) |
| HSL | hsl(47, 51%, 40%) |
| HSV | hsv(47, 68%, 60%) |
| CMYK | cmyk(0%, 14.4%, 68%, 40%) |
| CIE-LAB | lab(55.31, -1.25, 45.83) |
| CIE-LCH | lch(55.31, 45.85, 91.56°) |
| OKLab | oklab(61.43% -0.0072 0.1036) |
| OKLCH | oklch(61.43% 0.104 94) |
| XYZ | xyz(21.8086, 23.2278, 6.2398) |
| Luminance | 0.2323 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.37
Baby Poop
#937C00
ΔE00 4.52
Hazel
#8E7618
ΔE00 5.06
Yellowish Brown
#9B7A01
ΔE00 5.27
Puke Brown
#947706
ΔE00 5.34
Dark Mustard
#A88905
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998331 #314799
analogous
#994F31 #998331 #7B9931
triadic
#998331 #319983 #833199
tetradic
#998331 #31994F #314799 #99317B
square
#998331 #31994F #314799 #99317B
split-complementary
#998331 #317B99 #4F3199
monochromatic
#3C3413 #6B5B22 #998331 #C3A844 #D2BE72
Accessibility & contrast
On white
3.72
#998331 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#998331 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998331
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998331 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998331 | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918127
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#A57972
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #998331; /* rgb */ color: rgb(153, 131, 49); /* oklch */ color: oklch(61.4% 0.104 94.0);
Tailwind
colors: {
custom: {
50: '#baa66d',
500: '#998331',
950: '#000000',
},
}SCSS
$custom: #998331; $custom-light: #baa66d; $custom-dark: #000000;
JSON
{
"hex": "#998331",
"rgb": {
"r": 153,
"g": 131,
"b": 49
},
"hsl": {
"h": 47.308,
"s": 51.485,
"l": 39.608
},
"oklch": {
"l": 0.61434,
"c": 0.10385,
"h": 94
},
"luminance": 0.23227
}Semantic roles & 50–950 ramp
primary
#998331
secondary
#6C7CBA
accent
#6BDB4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A