#988927#988927
#988927 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.6% C 0.116 H 100.3°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #988927 |
|---|---|
| RGB | rgb(152, 137, 39) |
| HSL | hsl(52, 59%, 37%) |
| HSV | hsv(52, 74%, 60%) |
| CMYK | cmyk(0%, 9.9%, 74.3%, 40.4%) |
| CIE-LAB | lab(56.80, -5.57, 51.50) |
| CIE-LCH | lch(56.80, 51.80, 96.17°) |
| OKLab | oklab(62.57% -0.0207 0.1138) |
| OKLCH | oklch(62.57% 0.116 100.3) |
| XYZ | xyz(22.2618, 24.7142, 5.5168) |
| Luminance | 0.2471 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.68
Baby Poop
#937C00
ΔE00 5.21
Dark Mustard
#A88905
ΔE00 5.48
Baby Poo
#AB9004
ΔE00 5.61
Baby Shit Brown
#AD900D
ΔE00 5.89
Olive
#808000
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988927 #273698
analogous
#985027 #988927 #6F9827
triadic
#988927 #279889 #892798
tetradic
#988927 #279850 #273698 #98276F
square
#988927 #279850 #273698 #98276F
split-complementary
#988927 #276F98 #502798
monochromatic
#37310E #675D1B #988927 #C9B533 #D7C763
Accessibility & contrast
On white
3.53
#988927 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.94
#988927 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988927
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988927 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988927 | 1.00 | 3.53 | 5.94 | 5.94 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968516
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#A47F76
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #988927; /* rgb */ color: rgb(152, 137, 39); /* oklch */ color: oklch(62.6% 0.116 100.3);
Tailwind
colors: {
custom: {
50: '#baab68',
500: '#988927',
950: '#000000',
},
}SCSS
$custom: #988927; $custom-light: #baab68; $custom-dark: #000000;
JSON
{
"hex": "#988927",
"rgb": {
"r": 152,
"g": 137,
"b": 39
},
"hsl": {
"h": 52.035,
"s": 59.162,
"l": 37.451
},
"oklch": {
"l": 0.62566,
"c": 0.11564,
"h": 100.3
},
"luminance": 0.24713
}Semantic roles & 50–950 ramp
primary
#988927
secondary
#5E6BBC
accent
#5AE245
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A