#989E52#989E52

#989E52 is a light, moderate yellow. Relative luminance 0.317; OKLCH L 67.7% C 0.100 H 112.8°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#989E52
RGBrgb(152, 158, 82)
HSLhsl(65, 32%, 47%)
HSVhsv(65, 48%, 62%)
CMYKcmyk(3.8%, 0%, 48.1%, 38%)
CIE-LABlab(63.13, -13.60, 38.70)
CIE-LCHlch(63.13, 41.03, 109.36°)
OKLaboklab(67.74% -0.0387 0.0923)
OKLCHoklch(67.74% 0.1 112.8)
XYZxyz(26.6992, 31.7388, 12.7007)
Luminance0.3174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E52 #58529E
analogous
#9E7E52 #989E52 #729E52
triadic
#989E52 #52989E #9E5298
tetradic
#989E52 #529E7E #58529E #9E5272
square
#989E52 #529E7E #58529E #9E5272
split-complementary
#989E52 #52729E #7E529E
monochromatic
#4A4D28 #71763D #989E52 #B2B876 #C9CD9E

Accessibility & contrast

On white

2.86
#989E52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#989E52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989E52
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989E52#FFFFFF#000000##000000
##989E521.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8984B
Deuteranopia (green-blind)
#A89A56
Tritanopia (blue-blind)
#A0968C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #989e52;
/* rgb */ color: rgb(152, 158, 82);
/* oklch */ color: oklch(67.7% 0.100 112.8);
Tailwind
colors: {
  custom: {
    50: '#b8ba84',
    500: '#989e52',
    950: '#000000',
  },
}
SCSS
$custom: #989e52;
$custom-light: #b8ba84;
$custom-dark: #000000;
JSON
{
  "hex": "#989e52",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 82
  },
  "hsl": {
    "h": 64.737,
    "s": 31.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.67738,
    "c": 0.10006,
    "h": 112.8
  },
  "luminance": 0.31738
}

Semantic roles & 50–950 ramp

primary
#989E52
secondary
#9592BA
accent
#60C868
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11110B
muted
#80807C

Preview Lab

Preview with #989E52

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

Preview Lab → · Contrast checker → · Palette generator →

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