#989F18#989F18

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

Color values

HEX#989F18
RGBrgb(152, 159, 24)
HSLhsl(63, 74%, 36%)
HSVhsv(63, 85%, 62%)
CMYKcmyk(4.4%, 0%, 84.9%, 37.6%)
CIE-LABlab(62.96, -17.81, 61.73)
CIE-LCHlch(62.96, 64.24, 106.09°)
OKLaboklab(67.46% -0.0561 0.1328)
OKLCHoklch(67.46% 0.144 112.9)
XYZxyz(25.5128, 31.5382, 5.6075)
Luminance0.3154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F18 #1F189F
analogous
#9F6218 #989F18 #549F18
triadic
#989F18 #18989F #9F1898
tetradic
#989F18 #189F62 #1F189F #9F1854
square
#989F18 #189F62 #1F189F #9F1854
split-complementary
#989F18 #18549F #62189F
monochromatic
#323508 #656A10 #989F18 #CBD420 #DCE44D

Accessibility & contrast

On white

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

On black

7.31
#989F18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989F18
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989F18#FFFFFF#000000##000000
##989F181.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AC9A27
Tritanopia (blue-blind)
#A39587
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989f18;
/* rgb */ color: rgb(152, 159, 24);
/* oklch */ color: oklch(67.5% 0.144 112.9);
Tailwind
colors: {
  custom: {
    50: '#babb65',
    500: '#989f18',
    950: '#000000',
  },
}
SCSS
$custom: #989f18;
$custom-light: #babb65;
$custom-dark: #000000;
JSON
{
  "hex": "#989f18",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 63.111,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6746,
    "c": 0.14419,
    "h": 112.9
  },
  "luminance": 0.31538
}

Semantic roles & 50–950 ramp

primary
#989F18
secondary
#534DC6
accent
#37F041
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #989F18

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

Preview Lab → · Contrast checker → · Palette generator →

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