#989C1D#989C1D

#989C1D is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.8% C 0.139 H 111.5°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#989C1D
RGBrgb(152, 156, 29)
HSLhsl(62, 69%, 36%)
HSVhsv(62, 81%, 61%)
CMYKcmyk(2.6%, 0%, 81.4%, 38.8%)
CIE-LABlab(62.12, -16.10, 59.71)
CIE-LCHlch(62.12, 61.84, 105.09°)
OKLaboklab(66.79% -0.0511 0.1294)
OKLCHoklch(66.79% 0.139 111.5)
XYZxyz(25.0600, 30.5417, 5.7372)
Luminance0.3054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989C1D #211D9C
analogous
#9C611D #989C1D #599C1D
triadic
#989C1D #1D989C #9C1D98
tetradic
#989C1D #1D9C61 #211D9C #9C1D59
square
#989C1D #1D9C61 #211D9C #9C1D59
split-complementary
#989C1D #1D599C #611D9C
monochromatic
#33350A #666813 #989C1D #CAD027 #DBDF54

Accessibility & contrast

On white

2.95
#989C1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#989C1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989C1D
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989C1D#FFFFFF#000000##000000
##989C1D1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A99829
Tritanopia (blue-blind)
#A39285
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #989c1d;
/* rgb */ color: rgb(152, 156, 29);
/* oklch */ color: oklch(66.8% 0.139 111.5);
Tailwind
colors: {
  custom: {
    50: '#bab966',
    500: '#989c1d',
    950: '#000000',
  },
}
SCSS
$custom: #989c1d;
$custom-light: #bab966;
$custom-dark: #000000;
JSON
{
  "hex": "#989c1d",
  "rgb": {
    "r": 152,
    "g": 156,
    "b": 29
  },
  "hsl": {
    "h": 61.89,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66793,
    "c": 0.13906,
    "h": 111.5
  },
  "luminance": 0.30541
}

Semantic roles & 50–950 ramp

primary
#989C1D
secondary
#5652C2
accent
#3CEB42
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #989C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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