#988E20#988E20

#988E20 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.124 H 103.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#988E20
RGBrgb(152, 142, 32)
HSLhsl(55, 65%, 36%)
HSVhsv(55, 79%, 60%)
CMYKcmyk(0%, 6.6%, 78.9%, 40.4%)
CIE-LABlab(58.16, -8.59, 55.28)
CIE-LCHlch(58.16, 55.94, 98.83°)
OKLaboklab(63.64% -0.0299 0.1204)
OKLCHoklch(63.64% 0.124 103.9)
XYZxyz(22.8836, 26.1266, 5.2038)
Luminance0.2613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988E20 #202A98
analogous
#985220 #988E20 #669820
triadic
#988E20 #20988E #8E2098
tetradic
#988E20 #209852 #202A98 #982066
square
#988E20 #209852 #202A98 #982066
split-complementary
#988E20 #206698 #522098
monochromatic
#33300B #655F15 #988E20 #CBBD2B #DCD157

Accessibility & contrast

On white

3.37
#988E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#988E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988E20
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988E20#FFFFFF#000000##000000
##988E201.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8903
Deuteranopia (green-blind)
#9F8E29
Tritanopia (blue-blind)
#A48479
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #988e20;
/* rgb */ color: rgb(152, 142, 32);
/* oklch */ color: oklch(63.6% 0.124 103.9);
Tailwind
colors: {
  custom: {
    50: '#baae66',
    500: '#988e20',
    950: '#000000',
  },
}
SCSS
$custom: #988e20;
$custom-light: #baae66;
$custom-dark: #000000;
JSON
{
  "hex": "#988e20",
  "rgb": {
    "r": 152,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 55,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63635,
    "c": 0.12407,
    "h": 103.9
  },
  "luminance": 0.26126
}

Semantic roles & 50–950 ramp

primary
#988E20
secondary
#545DBF
accent
#4EE840
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988E20

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

Preview Lab → · Contrast checker → · Palette generator →

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