#989E18#989E18

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

Color values

HEX#989E18
RGBrgb(152, 158, 24)
HSLhsl(63, 74%, 36%)
HSVhsv(63, 85%, 62%)
CMYKcmyk(3.8%, 0%, 84.8%, 38%)
CIE-LABlab(62.67, -17.29, 61.49)
CIE-LCHlch(62.67, 63.87, 105.71°)
OKLaboklab(67.23% -0.0547 0.1323)
OKLCHoklch(67.23% 0.143 112.5)
XYZxyz(25.3415, 31.1957, 5.5504)
Luminance0.3120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E18 #1E189E
analogous
#9E6118 #989E18 #559E18
triadic
#989E18 #18989E #9E1898
tetradic
#989E18 #189E61 #1E189E #9E1855
square
#989E18 #189E61 #1E189E #9E1855
split-complementary
#989E18 #18559E #61189E
monochromatic
#323408 #656910 #989E18 #CBD320 #DDE44D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989E18#FFFFFF#000000##000000
##989E181.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: #989e18;
/* rgb */ color: rgb(152, 158, 24);
/* oklch */ color: oklch(67.2% 0.143 112.5);
Tailwind
colors: {
  custom: {
    50: '#baba65',
    500: '#989e18',
    950: '#000000',
  },
}
SCSS
$custom: #989e18;
$custom-light: #baba65;
$custom-dark: #000000;
JSON
{
  "hex": "#989e18",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 24
  },
  "hsl": {
    "h": 62.687,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6723,
    "c": 0.14316,
    "h": 112.5
  },
  "luminance": 0.31195
}

Semantic roles & 50–950 ramp

primary
#989E18
secondary
#514CC6
accent
#38F040
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #989E18

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

Preview Lab → · Contrast checker → · Palette generator →

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