#989E20#989E20

#989E20 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.3% C 0.140 H 112.5°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#989E20
RGBrgb(152, 158, 32)
HSLhsl(63, 66%, 37%)
HSVhsv(63, 80%, 62%)
CMYKcmyk(3.8%, 0%, 79.7%, 38%)
CIE-LABlab(62.70, -17.03, 59.36)
CIE-LCHlch(62.70, 61.75, 106.01°)
OKLaboklab(67.27% -0.0534 0.1291)
OKLCHoklch(67.27% 0.14 112.5)
XYZxyz(25.4373, 31.2340, 6.0550)
Luminance0.3123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E20 #26209E
analogous
#9E6520 #989E20 #599E20
triadic
#989E20 #20989E #9E2098
tetradic
#989E20 #209E65 #26209E #9E2059
square
#989E20 #209E65 #26209E #9E2059
split-complementary
#989E20 #20599E #65209E
monochromatic
#36380B #676B16 #989E20 #C9D12A #D7DE5B

Accessibility & contrast

On white

2.90
#989E20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#989E20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989E20
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989E20#FFFFFF#000000##000000
##989E201.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AB992C
Tritanopia (blue-blind)
#A39487
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989e20;
/* rgb */ color: rgb(152, 158, 32);
/* oklch */ color: oklch(67.3% 0.140 112.5);
Tailwind
colors: {
  custom: {
    50: '#baba68',
    500: '#989e20',
    950: '#000000',
  },
}
SCSS
$custom: #989e20;
$custom-light: #baba68;
$custom-dark: #000000;
JSON
{
  "hex": "#989e20",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 32
  },
  "hsl": {
    "h": 62.857,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.67266,
    "c": 0.13975,
    "h": 112.5
  },
  "luminance": 0.31233
}

Semantic roles & 50–950 ramp

primary
#989E20
secondary
#5D58C2
accent
#3FE947
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989E20

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

Preview Lab → · Contrast checker → · Palette generator →

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