#988E26#988E26
#988E26 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.121 H 103.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #988E26 |
|---|---|
| RGB | rgb(152, 142, 38) |
| HSL | hsl(55, 60%, 37%) |
| HSV | hsv(55, 75%, 60%) |
| CMYK | cmyk(0%, 6.6%, 75%, 40.4%) |
| CIE-LAB | lab(58.19, -8.33, 53.22) |
| CIE-LCH | lch(58.19, 53.86, 98.90°) |
| OKLab | oklab(63.67% -0.0286 0.1172) |
| OKLCH | oklch(63.67% 0.121 103.7) |
| XYZ | xyz(22.9728, 26.1623, 5.6731) |
| Luminance | 0.2616 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.79
Baby Poo
#AB9004
ΔE00 5.91
Baby Poop Green
#8F9805
ΔE00 5.92
Baby Shit Brown
#AD900D
ΔE00 6.33
Diarrhea
#9F8303
ΔE00 6.35
Olive
#808000
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988E26 #263098
analogous
#985526 #988E26 #699826
triadic
#988E26 #26988E #8E2698
tetradic
#988E26 #269855 #263098 #982669
square
#988E26 #269855 #263098 #982669
split-complementary
#988E26 #266998 #552698
monochromatic
#36330E #67601A #988E26 #C9BC32 #D7CD61
Accessibility & contrast
On white
3.37
#988E26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#988E26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988E26
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988E26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988E26 | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8912
Deuteranopia (green-blind)
#9E8E2D
Tritanopia (blue-blind)
#A4847A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #988e26; /* rgb */ color: rgb(152, 142, 38); /* oklch */ color: oklch(63.7% 0.121 103.7);
Tailwind
colors: {
custom: {
50: '#baae68',
500: '#988e26',
950: '#000000',
},
}SCSS
$custom: #988e26; $custom-light: #baae68; $custom-dark: #000000;
JSON
{
"hex": "#988e26",
"rgb": {
"r": 152,
"g": 142,
"b": 38
},
"hsl": {
"h": 54.737,
"s": 60,
"l": 37.255
},
"oklch": {
"l": 0.63673,
"c": 0.12065,
"h": 103.7
},
"luminance": 0.26161
}Semantic roles & 50–950 ramp
primary
#988E26
secondary
#5D65BD
accent
#53E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A