#989C1C#989C1C

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

Color values

HEX#989C1C
RGBrgb(152, 156, 28)
HSLhsl(62, 70%, 36%)
HSVhsv(62, 82%, 61%)
CMYKcmyk(2.6%, 0%, 82.1%, 38.8%)
CIE-LABlab(62.11, -16.14, 59.98)
CIE-LCHlch(62.11, 62.11, 105.06°)
OKLaboklab(66.79% -0.0512 0.1298)
OKLCHoklch(66.79% 0.14 111.5)
XYZxyz(25.0479, 30.5368, 5.6731)
Luminance0.3054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989C1C #201C9C
analogous
#9C601C #989C1C #589C1C
triadic
#989C1C #1C989C #9C1C98
tetradic
#989C1C #1C9C60 #201C9C #9C1C58
square
#989C1C #1C9C60 #201C9C #9C1C58
split-complementary
#989C1C #1C589C #601C9C
monochromatic
#333409 #656813 #989C1C #CBD025 #DCE052

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989C1C#FFFFFF#000000##000000
##989C1C1.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: #989c1c;
/* rgb */ color: rgb(152, 156, 28);
/* oklch */ color: oklch(66.8% 0.140 111.5);
Tailwind
colors: {
  custom: {
    50: '#bab966',
    500: '#989c1c',
    950: '#000000',
  },
}
SCSS
$custom: #989c1c;
$custom-light: #bab966;
$custom-dark: #000000;
JSON
{
  "hex": "#989c1c",
  "rgb": {
    "r": 152,
    "g": 156,
    "b": 28
  },
  "hsl": {
    "h": 61.875,
    "s": 69.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.66788,
    "c": 0.13951,
    "h": 111.5
  },
  "luminance": 0.30536
}

Semantic roles & 50–950 ramp

primary
#989C1C
secondary
#5451C3
accent
#3BEC41
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #989C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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