#989C2D#989C2D

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

Color values

HEX#989C2D
RGBrgb(152, 156, 45)
HSLhsl(62, 55%, 39%)
HSVhsv(62, 71%, 61%)
CMYKcmyk(2.6%, 0%, 71.2%, 38.8%)
CIE-LABlab(62.20, -15.40, 54.47)
CIE-LCHlch(62.20, 56.61, 105.79°)
OKLaboklab(66.89% -0.0477 0.1212)
OKLCHoklch(66.89% 0.13 111.5)
XYZxyz(25.3118, 30.6424, 7.0633)
Luminance0.3064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989C2D #312D9C
analogous
#9C692D #989C2D #619C2D
triadic
#989C2D #2D989C #9C2D98
tetradic
#989C2D #2D9C69 #312D9C #9C2D61
square
#989C2D #2D9C69 #312D9C #9C2D61
split-complementary
#989C2D #2D619C #692D9C
monochromatic
#3B3D12 #6A6D1F #989C2D #C3C83F #D2D56E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989C2D#FFFFFF#000000##000000
##989C2D1.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)
#A8951A
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#A39286
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #989c2d;
/* rgb */ color: rgb(152, 156, 45);
/* oklch */ color: oklch(66.9% 0.130 111.5);
Tailwind
colors: {
  custom: {
    50: '#b9b96e',
    500: '#989c2d',
    950: '#000000',
  },
}
SCSS
$custom: #989c2d;
$custom-light: #b9b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#989c2d",
  "rgb": {
    "r": 152,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 62.162,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66889,
    "c": 0.13022,
    "h": 111.5
  },
  "luminance": 0.30642
}

Semantic roles & 50–950 ramp

primary
#989C2D
secondary
#6B68BC
accent
#49DF4F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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