#998D20#998D20

#998D20 is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.5% C 0.123 H 102.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#998D20
RGBrgb(153, 141, 32)
HSLhsl(54, 65%, 36%)
HSVhsv(54, 79%, 60%)
CMYKcmyk(0%, 7.8%, 79.1%, 40%)
CIE-LABlab(57.97, -7.60, 55.14)
CIE-LCHlch(57.97, 55.66, 97.84°)
OKLaboklab(63.51% -0.0271 0.1201)
OKLCHoklch(63.51% 0.123 102.7)
XYZxyz(22.9235, 25.9274, 5.1632)
Luminance0.2593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D20 #202C99
analogous
#995120 #998D20 #699920
triadic
#998D20 #20998D #8D2099
tetradic
#998D20 #209951 #202C99 #992069
square
#998D20 #209951 #202C99 #992069
split-complementary
#998D20 #206999 #512099
monochromatic
#34300B #665E15 #998D20 #CCBC2B #DCCF57

Accessibility & contrast

On white

3.40
#998D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#998D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D20
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D20#FFFFFF#000000##000000
##998D201.003.406.196.19
#FFFFFF3.401.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8804
Deuteranopia (green-blind)
#9E8E28
Tritanopia (blue-blind)
#A58279
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998d20;
/* rgb */ color: rgb(153, 141, 32);
/* oklch */ color: oklch(63.5% 0.123 102.7);
Tailwind
colors: {
  custom: {
    50: '#bbae65',
    500: '#998d20',
    950: '#000000',
  },
}
SCSS
$custom: #998d20;
$custom-light: #bbae65;
$custom-dark: #000000;
JSON
{
  "hex": "#998d20",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 54.05,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63507,
    "c": 0.12311,
    "h": 102.7
  },
  "luminance": 0.25926
}

Semantic roles & 50–950 ramp

primary
#998D20
secondary
#5560C0
accent
#50E83F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998D20

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

Preview Lab → · Contrast checker → · Palette generator →

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