#989D1C#989D1C

#989D1C is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.0% C 0.141 H 112.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#989D1C
RGBrgb(152, 157, 28)
HSLhsl(62, 70%, 36%)
HSVhsv(62, 82%, 62%)
CMYKcmyk(3.2%, 0%, 82.2%, 38.4%)
CIE-LABlab(62.40, -16.65, 60.23)
CIE-LCHlch(62.40, 62.49, 105.46°)
OKLaboklab(67.02% -0.0527 0.1303)
OKLCHoklch(67.02% 0.141 112)
XYZxyz(25.2164, 30.8738, 5.7293)
Luminance0.3087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D1C #211C9D
analogous
#9D621C #989D1C #589D1C
triadic
#989D1C #1C989D #9D1C98
tetradic
#989D1C #1C9D62 #211C9D #9D1C58
square
#989D1C #1C9D62 #211C9D #9D1C58
split-complementary
#989D1C #1C589D #621C9D
monochromatic
#333509 #666913 #989D1C #CAD125 #DBE053

Accessibility & contrast

On white

2.93
#989D1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#989D1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989D1C
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989D1C#FFFFFF#000000##000000
##989D1C1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#AA9829
Tritanopia (blue-blind)
#A39386
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d1c;
/* rgb */ color: rgb(152, 157, 28);
/* oklch */ color: oklch(67.0% 0.141 112.0);
Tailwind
colors: {
  custom: {
    50: '#bab966',
    500: '#989d1c',
    950: '#000000',
  },
}
SCSS
$custom: #989d1c;
$custom-light: #bab966;
$custom-dark: #000000;
JSON
{
  "hex": "#989d1c",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 28
  },
  "hsl": {
    "h": 62.326,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.67017,
    "c": 0.14053,
    "h": 112
  },
  "luminance": 0.30873
}

Semantic roles & 50–950 ramp

primary
#989D1C
secondary
#5651C3
accent
#3BED42
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #989D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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