#989C2C#989C2C

#989C2C is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.9% C 0.131 H 111.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#989C2C
RGBrgb(152, 156, 44)
HSLhsl(62, 56%, 39%)
HSVhsv(62, 72%, 61%)
CMYKcmyk(2.6%, 0%, 71.8%, 38.8%)
CIE-LABlab(62.20, -15.46, 54.85)
CIE-LCHlch(62.20, 56.98, 105.74°)
OKLaboklab(66.88% -0.048 0.1218)
OKLCHoklch(66.88% 0.131 111.5)
XYZxyz(25.2928, 30.6348, 6.9631)
Luminance0.3063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989C2C #302C9C
analogous
#9C682C #989C2C #609C2C
triadic
#989C2C #2C989C #9C2C98
tetradic
#989C2C #2C9C68 #302C9C #9C2C60
square
#989C2C #2C9C68 #302C9C #9C2C60
split-complementary
#989C2C #2C609C #682C9C
monochromatic
#3B3D11 #696C1F #989C2C #C3C83D #D2D66D

Accessibility & contrast

On white

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

On black

7.13
#989C2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989C2C
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989C2C#FFFFFF#000000##000000
##989C2C1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89518
Deuteranopia (green-blind)
#A99834
Tritanopia (blue-blind)
#A39286
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #989c2c;
/* rgb */ color: rgb(152, 156, 44);
/* oklch */ color: oklch(66.9% 0.131 111.5);
Tailwind
colors: {
  custom: {
    50: '#b9b96d',
    500: '#989c2c',
    950: '#000000',
  },
}
SCSS
$custom: #989c2c;
$custom-light: #b9b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#989c2c",
  "rgb": {
    "r": 152,
    "g": 156,
    "b": 44
  },
  "hsl": {
    "h": 62.143,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66881,
    "c": 0.13088,
    "h": 111.5
  },
  "luminance": 0.30634
}

Semantic roles & 50–950 ramp

primary
#989C2C
secondary
#6A67BD
accent
#49DF4E
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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