#989F20#989F20

#989F20 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.5% C 0.141 H 112.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#989F20
RGBrgb(152, 159, 32)
HSLhsl(63, 66%, 37%)
HSVhsv(63, 80%, 62%)
CMYKcmyk(4.4%, 0%, 79.9%, 37.6%)
CIE-LABlab(62.99, -17.54, 59.61)
CIE-LCHlch(62.99, 62.14, 106.40°)
OKLaboklab(67.5% -0.0548 0.1297)
OKLCHoklch(67.5% 0.141 112.9)
XYZxyz(25.6086, 31.5766, 6.1121)
Luminance0.3158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F20 #27209F
analogous
#9F6620 #989F20 #599F20
triadic
#989F20 #20989F #9F2098
tetradic
#989F20 #209F66 #27209F #9F2059
square
#989F20 #209F66 #27209F #9F2059
split-complementary
#989F20 #20599F #66209F
monochromatic
#37390B #676C16 #989F20 #C9D22A #D7DE5B

Accessibility & contrast

On white

2.87
#989F20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#989F20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989F20
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989F20#FFFFFF#000000##000000
##989F201.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AC9A2C
Tritanopia (blue-blind)
#A39588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989f20;
/* rgb */ color: rgb(152, 159, 32);
/* oklch */ color: oklch(67.5% 0.141 112.9);
Tailwind
colors: {
  custom: {
    50: '#babb68',
    500: '#989f20',
    950: '#000000',
  },
}
SCSS
$custom: #989f20;
$custom-light: #babb68;
$custom-dark: #000000;
JSON
{
  "hex": "#989f20",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 63.307,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.67495,
    "c": 0.14081,
    "h": 112.9
  },
  "luminance": 0.31576
}

Semantic roles & 50–950 ramp

primary
#989F20
secondary
#5E59C2
accent
#3EE948
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989F20

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

Preview Lab → · Contrast checker → · Palette generator →

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