#989D3E#989D3E

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

Color values

HEX#989D3E
RGBrgb(152, 157, 62)
HSLhsl(63, 43%, 43%)
HSVhsv(63, 61%, 62%)
CMYKcmyk(3.2%, 0%, 60.5%, 38.4%)
CIE-LABlab(62.62, -14.84, 47.78)
CIE-LCHlch(62.62, 50.04, 107.25°)
OKLaboklab(67.27% -0.0443 0.1097)
OKLCHoklch(67.27% 0.118 112)
XYZxyz(25.8760, 31.1377, 9.2036)
Luminance0.3114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D3E #433E9D
analogous
#9D723E #989D3E #689D3E
triadic
#989D3E #3E989D #9D3E98
tetradic
#989D3E #3E9D72 #433E9D #9D3E68
square
#989D3E #3E9D72 #433E9D #9D3E68
split-complementary
#989D3E #3E689D #723E9D
monochromatic
#43451B #6E712D #989D3E #B9BE5A #CBCF86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989D3E#FFFFFF#000000##000000
##989D3E1.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)
#A89633
Deuteranopia (green-blind)
#A99944
Tritanopia (blue-blind)
#A29489
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d3e;
/* rgb */ color: rgb(152, 157, 62);
/* oklch */ color: oklch(67.3% 0.118 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b977',
    500: '#989d3e',
    950: '#000000',
  },
}
SCSS
$custom: #989d3e;
$custom-light: #b9b977;
$custom-dark: #000000;
JSON
{
  "hex": "#989d3e",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 62
  },
  "hsl": {
    "h": 63.158,
    "s": 43.379,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67266,
    "c": 0.11834,
    "h": 112
  },
  "luminance": 0.31137
}

Semantic roles & 50–950 ramp

primary
#989D3E
secondary
#807DBA
accent
#55D35B
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #989D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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