#989E17#989E17

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

Color values

HEX#989E17
RGBrgb(152, 158, 23)
HSLhsl(63, 75%, 35%)
HSVhsv(63, 85%, 62%)
CMYKcmyk(3.8%, 0%, 85.4%, 38%)
CIE-LABlab(62.67, -17.32, 61.72)
CIE-LCHlch(62.67, 64.10, 105.68°)
OKLaboklab(67.23% -0.0548 0.1326)
OKLCHoklch(67.23% 0.144 112.5)
XYZxyz(25.3313, 31.1916, 5.4966)
Luminance0.3119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E17 #1D179E
analogous
#9E6117 #989E17 #549E17
triadic
#989E17 #17989E #9E1798
tetradic
#989E17 #179E61 #1D179E #9E1754
square
#989E17 #179E61 #1D179E #9E1754
split-complementary
#989E17 #17549E #61179E
monochromatic
#313307 #65690F #989E17 #CBD31F #DEE54B

Accessibility & contrast

On white

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

On black

7.24
#989E17 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989E17
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989E17#FFFFFF#000000##000000
##989E171.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #989e17;
/* rgb */ color: rgb(152, 158, 23);
/* oklch */ color: oklch(67.2% 0.144 112.5);
Tailwind
colors: {
  custom: {
    50: '#baba64',
    500: '#989e17',
    950: '#000000',
  },
}
SCSS
$custom: #989e17;
$custom-light: #baba64;
$custom-dark: #000000;
JSON
{
  "hex": "#989e17",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 23
  },
  "hsl": {
    "h": 62.667,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.67226,
    "c": 0.14353,
    "h": 112.5
  },
  "luminance": 0.31191
}

Semantic roles & 50–950 ramp

primary
#989E17
secondary
#504AC6
accent
#37F13F
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #989E17

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

Preview Lab → · Contrast checker → · Palette generator →

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