#989F16#989F16

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

Color values

HEX#989F16
RGBrgb(152, 159, 22)
HSLhsl(63, 76%, 35%)
HSVhsv(63, 86%, 62%)
CMYKcmyk(4.4%, 0%, 86.2%, 37.6%)
CIE-LABlab(62.95, -17.86, 62.19)
CIE-LCHlch(62.95, 64.70, 106.03°)
OKLaboklab(67.45% -0.0564 0.1335)
OKLCHoklch(67.45% 0.145 112.9)
XYZxyz(25.4927, 31.5302, 5.5019)
Luminance0.3153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F16 #1D169F
analogous
#9F6216 #989F16 #539F16
triadic
#989F16 #16989F #9F1698
tetradic
#989F16 #169F62 #1D169F #9F1653
square
#989F16 #169F62 #1D169F #9F1653
split-complementary
#989F16 #16539F #62169F
monochromatic
#313307 #65690F #989F16 #CBD51D #DEE64A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989F16#FFFFFF#000000##000000
##989F161.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)
#AC9A26
Tritanopia (blue-blind)
#A39587
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989f16;
/* rgb */ color: rgb(152, 159, 22);
/* oklch */ color: oklch(67.5% 0.145 112.9);
Tailwind
colors: {
  custom: {
    50: '#babb64',
    500: '#989f16',
    950: '#000000',
  },
}
SCSS
$custom: #989f16;
$custom-light: #babb64;
$custom-dark: #000000;
JSON
{
  "hex": "#989f16",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 22
  },
  "hsl": {
    "h": 63.066,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.67452,
    "c": 0.14491,
    "h": 112.9
  },
  "luminance": 0.3153
}

Semantic roles & 50–950 ramp

primary
#989F16
secondary
#504AC7
accent
#36F23F
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #989F16

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

Preview Lab → · Contrast checker → · Palette generator →

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