#989D3A#989D3A

#989D3A is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.2% C 0.122 H 112.0°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#989D3A
RGBrgb(152, 157, 58)
HSLhsl(63, 46%, 42%)
HSVhsv(63, 63%, 62%)
CMYKcmyk(3.2%, 0%, 63.1%, 38.4%)
CIE-LABlab(62.59, -15.13, 49.53)
CIE-LCHlch(62.59, 51.79, 106.98°)
OKLaboklab(67.23% -0.0456 0.1129)
OKLCHoklch(67.23% 0.122 112)
XYZxyz(25.7703, 31.0954, 8.6467)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D3A #3F3A9D
analogous
#9D703A #989D3A #679D3A
triadic
#989D3A #3A989D #9D3A98
tetradic
#989D3A #3A9D70 #3F3A9D #9D3A67
square
#989D3A #3A9D70 #3F3A9D #9D3A67
split-complementary
#989D3A #3A679D #703A9D
monochromatic
#414419 #6D7029 #989D3A #BAC054 #CCD081

Accessibility & contrast

On white

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

On black

7.22
#989D3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989D3A
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989D3A#FFFFFF#000000##000000
##989D3A1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8962E
Deuteranopia (green-blind)
#A99940
Tritanopia (blue-blind)
#A29488
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d3a;
/* rgb */ color: rgb(152, 157, 58);
/* oklch */ color: oklch(67.2% 0.122 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b975',
    500: '#989d3a',
    950: '#000000',
  },
}
SCSS
$custom: #989d3a;
$custom-light: #b9b975;
$custom-dark: #000000;
JSON
{
  "hex": "#989d3a",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 58
  },
  "hsl": {
    "h": 63.03,
    "s": 46.047,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67227,
    "c": 0.12171,
    "h": 112
  },
  "luminance": 0.31095
}

Semantic roles & 50–950 ramp

primary
#989D3A
secondary
#7C79BA
accent
#52D659
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #989D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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