#989D52#989D52

#989D52 is a light, moderate yellow. Relative luminance 0.314; OKLCH L 67.5% C 0.099 H 112.1°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#989D52
RGBrgb(152, 157, 82)
HSLhsl(64, 31%, 47%)
HSVhsv(64, 48%, 62%)
CMYKcmyk(3.2%, 0%, 47.8%, 38.4%)
CIE-LABlab(62.84, -13.08, 38.36)
CIE-LCHlch(62.84, 40.53, 108.83°)
OKLaboklab(67.51% -0.0372 0.0915)
OKLCHoklch(67.51% 0.099 112.1)
XYZxyz(26.5293, 31.3990, 12.6441)
Luminance0.3140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D52 #57529D
analogous
#9D7D52 #989D52 #739D52
triadic
#989D52 #52989D #9D5298
tetradic
#989D52 #529D7D #57529D #9D5273
square
#989D52 #529D7D #57529D #9D5273
split-complementary
#989D52 #52739D #7D529D
monochromatic
#4A4D28 #71753D #989D52 #B3B775 #C9CC9D

Accessibility & contrast

On white

2.88
#989D52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#989D52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989D52
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989D52#FFFFFF#000000##000000
##989D521.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7974C
Deuteranopia (green-blind)
#A79956
Tritanopia (blue-blind)
#A0958C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989d52;
/* rgb */ color: rgb(152, 157, 82);
/* oklch */ color: oklch(67.5% 0.099 112.1);
Tailwind
colors: {
  custom: {
    50: '#b8b984',
    500: '#989d52',
    950: '#000000',
  },
}
SCSS
$custom: #989d52;
$custom-light: #b8b984;
$custom-dark: #000000;
JSON
{
  "hex": "#989d52",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 82
  },
  "hsl": {
    "h": 64,
    "s": 31.381,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67512,
    "c": 0.09879,
    "h": 112.1
  },
  "luminance": 0.31399
}

Semantic roles & 50–950 ramp

primary
#989D52
secondary
#9492B9
accent
#60C867
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11110B
muted
#80807C

Preview Lab

Preview with #989D52

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

Preview Lab → · Contrast checker → · Palette generator →

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