#988331#988331
#988331 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.3% C 0.104 H 94.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #988331 |
|---|---|
| RGB | rgb(152, 131, 49) |
| HSL | hsl(48, 51%, 39%) |
| HSV | hsv(48, 68%, 60%) |
| CMYK | cmyk(0%, 13.8%, 67.8%, 40.4%) |
| CIE-LAB | lab(55.21, -1.71, 45.70) |
| CIE-LCH | lch(55.21, 45.73, 92.14°) |
| OKLab | oklab(61.33% -0.0085 0.1033) |
| OKLCH | oklch(61.33% 0.104 94.7) |
| XYZ | xyz(21.6206, 23.1309, 6.2310) |
| Luminance | 0.2313 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.50
Diarrhea
#9F8303
ΔE00 4.50
Hazel
#8E7618
ΔE00 5.04
Puke Brown
#947706
ΔE00 5.43
Yellowish Brown
#9B7A01
ΔE00 5.45
Dark Mustard
#A88905
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988331 #314698
analogous
#985031 #988331 #7A9831
triadic
#988331 #319883 #833198
tetradic
#988331 #319850 #314698 #98317A
square
#988331 #319850 #314698 #98317A
split-complementary
#988331 #317A98 #503198
monochromatic
#3B3313 #6A5B22 #988331 #C3A944 #D2BE72
Accessibility & contrast
On white
3.73
#988331 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#988331 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988331
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988331 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988331 | 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)
#908027
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#A47972
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #988331; /* rgb */ color: rgb(152, 131, 49); /* oklch */ color: oklch(61.3% 0.104 94.7);
Tailwind
colors: {
custom: {
50: '#b9a66d',
500: '#988331',
950: '#000000',
},
}SCSS
$custom: #988331; $custom-light: #b9a66d; $custom-dark: #000000;
JSON
{
"hex": "#988331",
"rgb": {
"r": 152,
"g": 131,
"b": 49
},
"hsl": {
"h": 47.767,
"s": 51.244,
"l": 39.412
},
"oklch": {
"l": 0.61332,
"c": 0.10369,
"h": 94.7
},
"luminance": 0.2313
}Semantic roles & 50–950 ramp
primary
#988331
secondary
#6B7BB9
accent
#6ADB4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A