#988923#988923
#988923 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.5% C 0.118 H 100.5°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #988923 |
|---|---|
| RGB | rgb(152, 137, 35) |
| HSL | hsl(52, 63%, 37%) |
| HSV | hsv(52, 77%, 60%) |
| CMYK | cmyk(0%, 9.9%, 77%, 40.4%) |
| CIE-LAB | lab(56.77, -5.75, 52.97) |
| CIE-LCH | lch(56.77, 53.28, 96.20°) |
| OKLab | oklab(62.54% -0.0216 0.1161) |
| OKLCH | oklch(62.54% 0.118 100.5) |
| XYZ | xyz(22.1990, 24.6891, 5.1860) |
| Luminance | 0.2469 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.51
Baby Poop
#937C00
ΔE00 5.08
Dark Mustard
#A88905
ΔE00 5.31
Baby Poo
#AB9004
ΔE00 5.39
Baby Shit Brown
#AD900D
ΔE00 5.71
Olive
#808000
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988923 #233298
analogous
#984F23 #988923 #6D9823
triadic
#988923 #239889 #892398
tetradic
#988923 #23984F #233298 #98236D
square
#988923 #23984F #233298 #98236D
split-complementary
#988923 #236D98 #4F2398
monochromatic
#352F0C #665C18 #988923 #CAB62E #D9C95C
Accessibility & contrast
On white
3.54
#988923 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.94
#988923 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988923
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988923 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988923 | 1.00 | 3.54 | 5.94 | 5.94 |
| #FFFFFF | 3.54 | 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)
#97850E
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#A47F76
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #988923; /* rgb */ color: rgb(152, 137, 35); /* oklch */ color: oklch(62.5% 0.118 100.5);
Tailwind
colors: {
custom: {
50: '#baab66',
500: '#988923',
950: '#000000',
},
}SCSS
$custom: #988923; $custom-light: #baab66; $custom-dark: #000000;
JSON
{
"hex": "#988923",
"rgb": {
"r": 152,
"g": 137,
"b": 35
},
"hsl": {
"h": 52.308,
"s": 62.567,
"l": 36.667
},
"oklch": {
"l": 0.62539,
"c": 0.11809,
"h": 100.5
},
"luminance": 0.24688
}Semantic roles & 50–950 ramp
primary
#988923
secondary
#5966BE
accent
#57E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A