#988C23#988C23
#988C23 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.2% C 0.121 H 102.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #988C23 |
|---|---|
| RGB | rgb(152, 140, 35) |
| HSL | hsl(54, 63%, 37%) |
| HSV | hsv(54, 77%, 60%) |
| CMYK | cmyk(0%, 7.9%, 77%, 40.4%) |
| CIE-LAB | lab(57.61, -7.39, 53.75) |
| CIE-LCH | lch(57.61, 54.26, 97.82°) |
| OKLab | oklab(63.21% -0.0262 0.1178) |
| OKLCH | oklch(63.21% 0.121 102.5) |
| XYZ | xyz(22.6314, 25.5539, 5.3301) |
| Luminance | 0.2555 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.53
Diarrhea
#9F8303
ΔE00 5.55
Baby Shit Brown
#AD900D
ΔE00 5.94
Dark Mustard
#A88905
ΔE00 6.01
Baby Poop
#937C00
ΔE00 6.22
Olive
#808000
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988C23 #232F98
analogous
#985223 #988C23 #6A9823
triadic
#988C23 #23988C #8C2398
tetradic
#988C23 #239852 #232F98 #98236A
square
#988C23 #239852 #232F98 #98236A
split-complementary
#988C23 #236A98 #522398
monochromatic
#35300C #665E18 #988C23 #CABA2E #D9CD5C
Accessibility & contrast
On white
3.44
#988C23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#988C23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988C23
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988C23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988C23 | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99870C
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#A48278
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #988c23; /* rgb */ color: rgb(152, 140, 35); /* oklch */ color: oklch(63.2% 0.121 102.5);
Tailwind
colors: {
custom: {
50: '#baad67',
500: '#988c23',
950: '#000000',
},
}SCSS
$custom: #988c23; $custom-light: #baad67; $custom-dark: #000000;
JSON
{
"hex": "#988c23",
"rgb": {
"r": 152,
"g": 140,
"b": 35
},
"hsl": {
"h": 53.846,
"s": 62.567,
"l": 36.667
},
"oklch": {
"l": 0.63206,
"c": 0.12065,
"h": 102.5
},
"luminance": 0.25553
}Semantic roles & 50–950 ramp
primary
#988C23
secondary
#5963BE
accent
#53E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A