#989D20#989D20

#989D20 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.0% C 0.139 H 112.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#989D20
RGBrgb(152, 157, 32)
HSLhsl(62, 66%, 37%)
HSVhsv(62, 80%, 62%)
CMYKcmyk(3.2%, 0%, 79.6%, 38.4%)
CIE-LABlab(62.42, -16.51, 59.10)
CIE-LCHlch(62.42, 61.37, 105.61°)
OKLaboklab(67.04% -0.052 0.1286)
OKLCHoklch(67.04% 0.139 112)
XYZxyz(25.2675, 30.8943, 5.9984)
Luminance0.3089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D20 #25209D
analogous
#9D6420 #989D20 #5A9D20
triadic
#989D20 #20989D #9D2098
tetradic
#989D20 #209D64 #25209D #9D205A
square
#989D20 #209D64 #25209D #9D205A
split-complementary
#989D20 #205A9D #64209D
monochromatic
#36370B #676A16 #989D20 #C9D02A #D8DD5A

Accessibility & contrast

On white

2.93
#989D20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#989D20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989D20
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989D20#FFFFFF#000000##000000
##989D201.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#AA982C
Tritanopia (blue-blind)
#A39386
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d20;
/* rgb */ color: rgb(152, 157, 32);
/* oklch */ color: oklch(67.0% 0.139 112.0);
Tailwind
colors: {
  custom: {
    50: '#bab968',
    500: '#989d20',
    950: '#000000',
  },
}
SCSS
$custom: #989d20;
$custom-light: #bab968;
$custom-dark: #000000;
JSON
{
  "hex": "#989d20",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 62.4,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.67036,
    "c": 0.13871,
    "h": 112
  },
  "luminance": 0.30894
}

Semantic roles & 50–950 ramp

primary
#989D20
secondary
#5C57C1
accent
#3FE946
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989D20

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

Preview Lab → · Contrast checker → · Palette generator →

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