#989C2A#989C2A

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

Color values

HEX#989C2A
RGBrgb(152, 156, 42)
HSLhsl(62, 58%, 39%)
HSVhsv(62, 73%, 61%)
CMYKcmyk(2.6%, 0%, 73.1%, 38.8%)
CIE-LABlab(62.19, -15.56, 55.57)
CIE-LCHlch(62.19, 57.71, 105.64°)
OKLaboklab(66.87% -0.0484 0.123)
OKLCHoklch(66.87% 0.132 111.5)
XYZxyz(25.2561, 30.6201, 6.7699)
Luminance0.3062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989C2A #2E2A9C
analogous
#9C672A #989C2A #5F9C2A
triadic
#989C2A #2A989C #9C2A98
tetradic
#989C2A #2A9C67 #2E2A9C #9C2A5F
square
#989C2A #2A9C67 #2E2A9C #9C2A5F
split-complementary
#989C2A #2A5F9C #672A9C
monochromatic
#3A3C10 #696C1D #989C2A #C5CA39 #D3D76A

Accessibility & contrast

On white

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

On black

7.12
#989C2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989C2A
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989C2A#FFFFFF#000000##000000
##989C2A1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #989c2a;
/* rgb */ color: rgb(152, 156, 42);
/* oklch */ color: oklch(66.9% 0.132 111.5);
Tailwind
colors: {
  custom: {
    50: '#bab96c',
    500: '#989c2a',
    950: '#000000',
  },
}
SCSS
$custom: #989c2a;
$custom-light: #bab96c;
$custom-dark: #000000;
JSON
{
  "hex": "#989c2a",
  "rgb": {
    "r": 152,
    "g": 156,
    "b": 42
  },
  "hsl": {
    "h": 62.105,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66867,
    "c": 0.13214,
    "h": 111.5
  },
  "luminance": 0.3062
}

Semantic roles & 50–950 ramp

primary
#989C2A
secondary
#6865BD
accent
#47E14C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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