#988728#988728
#988728 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.1% C 0.113 H 98.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #988728 |
|---|---|
| RGB | rgb(152, 135, 40) |
| HSL | hsl(51, 58%, 38%) |
| HSV | hsv(51, 74%, 60%) |
| CMYK | cmyk(0%, 11.2%, 73.7%, 40.4%) |
| CIE-LAB | lab(56.25, -4.42, 50.58) |
| CIE-LCH | lch(56.25, 50.77, 95.00°) |
| OKLab | oklab(62.13% -0.0173 0.112) |
| OKLCH | oklch(62.13% 0.113 98.8) |
| XYZ | xyz(21.9969, 24.1576, 5.5113) |
| Luminance | 0.2416 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.17
Baby Poop
#937C00
ΔE00 4.58
Dark Mustard
#A88905
ΔE00 5.22
Baby Poo
#AB9004
ΔE00 5.76
Baby Shit Brown
#AD900D
ΔE00 5.96
Hazel
#8E7618
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988728 #283998
analogous
#984F28 #988728 #719828
triadic
#988728 #289887 #872898
tetradic
#988728 #28984F #283998 #982871
square
#988728 #28984F #283998 #982871
split-complementary
#988728 #287198 #4F2898
monochromatic
#37310F #685C1B #988728 #C8B235 #D6C564
Accessibility & contrast
On white
3.60
#988728 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#988728 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988728
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988728 | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958319
Deuteranopia (green-blind)
#99892E
Tritanopia (blue-blind)
#A47D74
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #988728; /* rgb */ color: rgb(152, 135, 40); /* oklch */ color: oklch(62.1% 0.113 98.8);
Tailwind
colors: {
custom: {
50: '#baa969',
500: '#988728',
950: '#000000',
},
}SCSS
$custom: #988728; $custom-light: #baa969; $custom-dark: #000000;
JSON
{
"hex": "#988728",
"rgb": {
"r": 152,
"g": 135,
"b": 40
},
"hsl": {
"h": 50.893,
"s": 58.333,
"l": 37.647
},
"oklch": {
"l": 0.62132,
"c": 0.11335,
"h": 98.8
},
"luminance": 0.24157
}Semantic roles & 50–950 ramp
primary
#988728
secondary
#606EBC
accent
#5EE246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A