#989E15#989E15

#989E15 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#989E15
RGBrgb(152, 158, 21)
HSLhsl(63, 77%, 35%)
HSVhsv(63, 87%, 62%)
CMYKcmyk(3.8%, 0%, 86.7%, 38%)
CIE-LABlab(62.66, -17.38, 62.17)
CIE-LCHlch(62.66, 64.55, 105.62°)
OKLaboklab(67.22% -0.0551 0.1333)
OKLCHoklch(67.22% 0.144 112.5)
XYZxyz(25.3120, 31.1839, 5.3950)
Luminance0.3118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E15 #1B159E
analogous
#9E6015 #989E15 #539E15
triadic
#989E15 #15989E #9E1598
tetradic
#989E15 #159E60 #1B159E #9E1553
square
#989E15 #159E60 #1B159E #9E1553
split-complementary
#989E15 #15539E #60159E
monochromatic
#303207 #64680E #989E15 #CCD41C #E0E747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989E15#FFFFFF#000000##000000
##989E151.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)
#AB9925
Tritanopia (blue-blind)
#A39486
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989e15;
/* rgb */ color: rgb(152, 158, 21);
/* oklch */ color: oklch(67.2% 0.144 112.5);
Tailwind
colors: {
  custom: {
    50: '#baba64',
    500: '#989e15',
    950: '#000000',
  },
}
SCSS
$custom: #989e15;
$custom-light: #baba64;
$custom-dark: #000000;
JSON
{
  "hex": "#989e15",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 21
  },
  "hsl": {
    "h": 62.628,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.67219,
    "c": 0.14423,
    "h": 112.5
  },
  "luminance": 0.31183
}

Semantic roles & 50–950 ramp

primary
#989E15
secondary
#4D47C7
accent
#35F33D
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #989E15

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

Preview Lab → · Contrast checker → · Palette generator →

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