#989D3D#989D3D

#989D3D is a light, moderate yellow. Relative luminance 0.311; OKLCH L 67.3% C 0.119 H 112.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#989D3D
RGBrgb(152, 157, 61)
HSLhsl(63, 44%, 43%)
HSVhsv(63, 61%, 62%)
CMYKcmyk(3.2%, 0%, 61.1%, 38.4%)
CIE-LABlab(62.61, -14.91, 48.23)
CIE-LCHlch(62.61, 50.48, 107.18°)
OKLaboklab(67.26% -0.0446 0.1105)
OKLCHoklch(67.26% 0.119 112)
XYZxyz(25.8488, 31.1268, 9.0604)
Luminance0.3113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D3D #423D9D
analogous
#9D723D #989D3D #689D3D
triadic
#989D3D #3D989D #9D3D98
tetradic
#989D3D #3D9D72 #423D9D #9D3D68
square
#989D3D #3D9D72 #423D9D #9D3D68
split-complementary
#989D3D #3D689D #723D9D
monochromatic
#43451B #6D712C #989D3D #B9BE59 #CCD085

Accessibility & contrast

On white

2.91
#989D3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#989D3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989D3D
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989D3D#FFFFFF#000000##000000
##989D3D1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89632
Deuteranopia (green-blind)
#A99943
Tritanopia (blue-blind)
#A29489
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d3d;
/* rgb */ color: rgb(152, 157, 61);
/* oklch */ color: oklch(67.3% 0.119 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b977',
    500: '#989d3d',
    950: '#000000',
  },
}
SCSS
$custom: #989d3d;
$custom-light: #b9b977;
$custom-dark: #000000;
JSON
{
  "hex": "#989d3d",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 61
  },
  "hsl": {
    "h": 63.125,
    "s": 44.037,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67256,
    "c": 0.1192,
    "h": 112
  },
  "luminance": 0.31126
}

Semantic roles & 50–950 ramp

primary
#989D3D
secondary
#7F7CBA
accent
#54D45B
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #989D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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