#988D20#988D20

#988D20 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.4% C 0.123 H 103.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#988D20
RGBrgb(152, 141, 32)
HSLhsl(55, 65%, 36%)
HSVhsv(55, 79%, 60%)
CMYKcmyk(0%, 7.2%, 78.9%, 40.4%)
CIE-LABlab(57.88, -8.05, 55.02)
CIE-LCHlch(57.88, 55.61, 98.32°)
OKLaboklab(63.41% -0.0284 0.1199)
OKLCHoklch(63.41% 0.123 103.3)
XYZxyz(22.7355, 25.8304, 5.1544)
Luminance0.2583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988D20 #202B98
analogous
#985120 #988D20 #679820
triadic
#988D20 #20988D #8D2098
tetradic
#988D20 #209851 #202B98 #982067
square
#988D20 #209851 #202B98 #982067
split-complementary
#988D20 #206798 #512098
monochromatic
#332F0B #655E15 #988D20 #CBBC2B #DCCF57

Accessibility & contrast

On white

3.41
#988D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#988D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988D20
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988D20#FFFFFF#000000##000000
##988D201.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8804
Deuteranopia (green-blind)
#9E8D29
Tritanopia (blue-blind)
#A48379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #988d20;
/* rgb */ color: rgb(152, 141, 32);
/* oklch */ color: oklch(63.4% 0.123 103.3);
Tailwind
colors: {
  custom: {
    50: '#baae65',
    500: '#988d20',
    950: '#000000',
  },
}
SCSS
$custom: #988d20;
$custom-light: #baae65;
$custom-dark: #000000;
JSON
{
  "hex": "#988d20",
  "rgb": {
    "r": 152,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 54.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63411,
    "c": 0.12319,
    "h": 103.3
  },
  "luminance": 0.25829
}

Semantic roles & 50–950 ramp

primary
#988D20
secondary
#545EBF
accent
#4FE840
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988D20

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#988D20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva