#989C2E#989C2E

#989C2E 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#989C2E
RGBrgb(152, 156, 46)
HSLhsl(62, 54%, 40%)
HSVhsv(62, 71%, 61%)
CMYKcmyk(2.6%, 0%, 70.5%, 38.8%)
CIE-LABlab(62.21, -15.35, 54.10)
CIE-LCHlch(62.21, 56.23, 105.84°)
OKLaboklab(66.9% -0.0475 0.1206)
OKLCHoklch(66.9% 0.13 111.5)
XYZxyz(25.3313, 30.6502, 7.1659)
Luminance0.3065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989C2E #322E9C
analogous
#9C692E #989C2E #619C2E
triadic
#989C2E #2E989C #9C2E98
tetradic
#989C2E #2E9C69 #322E9C #9C2E61
square
#989C2E #2E9C69 #322E9C #9C2E61
split-complementary
#989C2E #2E619C #692E9C
monochromatic
#3C3D12 #6A6D20 #989C2E #C2C740 #D1D570

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989C2E#FFFFFF#000000##000000
##989C2E1.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)
#A8951C
Deuteranopia (green-blind)
#A99836
Tritanopia (blue-blind)
#A39286
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #989c2e;
/* rgb */ color: rgb(152, 156, 46);
/* oklch */ color: oklch(66.9% 0.130 111.5);
Tailwind
colors: {
  custom: {
    50: '#b9b96e',
    500: '#989c2e',
    950: '#000000',
  },
}
SCSS
$custom: #989c2e;
$custom-light: #b9b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#989c2e",
  "rgb": {
    "r": 152,
    "g": 156,
    "b": 46
  },
  "hsl": {
    "h": 62.182,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66896,
    "c": 0.12957,
    "h": 111.5
  },
  "luminance": 0.3065
}

Semantic roles & 50–950 ramp

primary
#989C2E
secondary
#6D6ABC
accent
#4ADE4F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #989C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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