#989D2D#989D2D

#989D2D is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.1% C 0.131 H 112.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#989D2D
RGBrgb(152, 157, 45)
HSLhsl(63, 55%, 40%)
HSVhsv(63, 71%, 62%)
CMYKcmyk(3.2%, 0%, 71.3%, 38.4%)
CIE-LABlab(62.49, -15.92, 54.75)
CIE-LCHlch(62.49, 57.02, 106.21°)
OKLaboklab(67.12% -0.0492 0.1218)
OKLCHoklch(67.12% 0.131 112)
XYZxyz(25.4803, 30.9794, 7.1195)
Luminance0.3098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D2D #322D9D
analogous
#9D6A2D #989D2D #609D2D
triadic
#989D2D #2D989D #9D2D98
tetradic
#989D2D #2D9D6A #322D9D #9D2D60
square
#989D2D #2D9D6A #322D9D #9D2D60
split-complementary
#989D2D #2D609D #6A2D9D
monochromatic
#3C3E12 #6A6D1F #989D2D #C2C83F #D1D66F

Accessibility & contrast

On white

2.92
#989D2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#989D2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989D2D
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989D2D#FFFFFF#000000##000000
##989D2D1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961A
Deuteranopia (green-blind)
#AA9835
Tritanopia (blue-blind)
#A29387
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d2d;
/* rgb */ color: rgb(152, 157, 45);
/* oklch */ color: oklch(67.1% 0.131 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b96e',
    500: '#989d2d',
    950: '#000000',
  },
}
SCSS
$custom: #989d2d;
$custom-light: #b9b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#989d2d",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 62.679,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67117,
    "c": 0.13132,
    "h": 112
  },
  "luminance": 0.30979
}

Semantic roles & 50–950 ramp

primary
#989D2D
secondary
#6D69BD
accent
#49DF50
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #989D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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