#988F20#988F20

#988F20 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.9% C 0.125 H 104.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#988F20
RGBrgb(152, 143, 32)
HSLhsl(56, 65%, 36%)
HSVhsv(56, 79%, 60%)
CMYKcmyk(0%, 5.9%, 78.9%, 40.4%)
CIE-LABlab(58.44, -9.13, 55.53)
CIE-LCHlch(58.44, 56.28, 99.34°)
OKLaboklab(63.86% -0.0314 0.121)
OKLCHoklch(63.86% 0.125 104.5)
XYZxyz(23.0331, 26.4255, 5.2536)
Luminance0.2642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988F20 #202998
analogous
#985320 #988F20 #659820
triadic
#988F20 #20988F #8F2098
tetradic
#988F20 #209853 #202998 #982065
square
#988F20 #209853 #202998 #982065
split-complementary
#988F20 #206598 #532098
monochromatic
#33300B #655F15 #988F20 #CBBF2B #DCD257

Accessibility & contrast

On white

3.34
#988F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#988F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988F20
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988F20#FFFFFF#000000##000000
##988F201.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A03
Deuteranopia (green-blind)
#9F8F29
Tritanopia (blue-blind)
#A4857A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #988f20;
/* rgb */ color: rgb(152, 143, 32);
/* oklch */ color: oklch(63.9% 0.125 104.5);
Tailwind
colors: {
  custom: {
    50: '#baaf66',
    500: '#988f20',
    950: '#000000',
  },
}
SCSS
$custom: #988f20;
$custom-light: #baaf66;
$custom-dark: #000000;
JSON
{
  "hex": "#988f20",
  "rgb": {
    "r": 152,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 55.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63859,
    "c": 0.12498,
    "h": 104.5
  },
  "luminance": 0.26425
}

Semantic roles & 50–950 ramp

primary
#988F20
secondary
#545CBF
accent
#4CE840
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988F20

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

Preview Lab → · Contrast checker → · Palette generator →

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