#989A52#989A52

#989A52 is a light, moderate yellow. Relative luminance 0.304; OKLCH L 66.8% C 0.095 H 110.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#989A52
RGBrgb(152, 154, 82)
HSLhsl(62, 31%, 46%)
HSVhsv(62, 47%, 60%)
CMYKcmyk(1.3%, 0%, 46.8%, 39.6%)
CIE-LABlab(61.99, -11.49, 37.33)
CIE-LCHlch(61.99, 39.06, 107.11°)
OKLaboklab(66.84% -0.0327 0.0892)
OKLCHoklch(66.84% 0.095 110.1)
XYZxyz(26.0280, 30.3963, 12.4770)
Luminance0.3040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989A52 #54529A
analogous
#9A7852 #989A52 #749A52
triadic
#989A52 #52989A #9A5298
tetradic
#989A52 #529A78 #54529A #9A5274
square
#989A52 #529A78 #54529A #9A5274
split-complementary
#989A52 #52749A #78529A
monochromatic
#494A27 #71723D #989A52 #B3B574 #C9CA9C

Accessibility & contrast

On white

2.97
#989A52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#989A52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989A52
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989A52#FFFFFF#000000##000000
##989A521.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4954C
Deuteranopia (green-blind)
#A59755
Tritanopia (blue-blind)
#A19289
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #989a52;
/* rgb */ color: rgb(152, 154, 82);
/* oklch */ color: oklch(66.8% 0.095 110.1);
Tailwind
colors: {
  custom: {
    50: '#b8b784',
    500: '#989a52',
    950: '#000000',
  },
}
SCSS
$custom: #989a52;
$custom-light: #b8b784;
$custom-dark: #000000;
JSON
{
  "hex": "#989a52",
  "rgb": {
    "r": 152,
    "g": 154,
    "b": 82
  },
  "hsl": {
    "h": 61.667,
    "s": 30.508,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66836,
    "c": 0.09504,
    "h": 110.1
  },
  "luminance": 0.30396
}

Semantic roles & 50–950 ramp

primary
#989A52
secondary
#9290B7
accent
#61C764
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11110B
muted
#80807C

Preview Lab

Preview with #989A52

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

Preview Lab → · Contrast checker → · Palette generator →

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