#989B52#989B52

#989B52 is a light, moderate yellow. Relative luminance 0.307; OKLCH L 67.1% C 0.096 H 110.8°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#989B52
RGBrgb(152, 155, 82)
HSLhsl(62, 31%, 46%)
HSVhsv(62, 47%, 61%)
CMYKcmyk(1.9%, 0%, 47.1%, 39.2%)
CIE-LABlab(62.28, -12.02, 37.67)
CIE-LCHlch(62.28, 39.55, 107.70°)
OKLaboklab(67.06% -0.0342 0.09)
OKLCHoklch(67.06% 0.096 110.8)
XYZxyz(26.1937, 30.7278, 12.5322)
Luminance0.3073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989B52 #55529B
analogous
#9B7A52 #989B52 #749B52
triadic
#989B52 #52989B #9B5298
tetradic
#989B52 #529B7A #55529B #9B5274
square
#989B52 #529B7A #55529B #9B5274
split-complementary
#989B52 #52749B #7A529B
monochromatic
#4A4B28 #71733D #989B52 #B3B674 #C9CB9D

Accessibility & contrast

On white

2.94
#989B52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#989B52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989B52
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989B52#FFFFFF#000000##000000
##989B521.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5954C
Deuteranopia (green-blind)
#A59856
Tritanopia (blue-blind)
#A1938A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989b52;
/* rgb */ color: rgb(152, 155, 82);
/* oklch */ color: oklch(67.1% 0.096 110.8);
Tailwind
colors: {
  custom: {
    50: '#b8b884',
    500: '#989b52',
    950: '#000000',
  },
}
SCSS
$custom: #989b52;
$custom-light: #b8b884;
$custom-dark: #000000;
JSON
{
  "hex": "#989b52",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 82
  },
  "hsl": {
    "h": 62.466,
    "s": 30.802,
    "l": 46.471
  },
  "oklch": {
    "l": 0.67061,
    "c": 0.09628,
    "h": 110.8
  },
  "luminance": 0.30727
}

Semantic roles & 50–950 ramp

primary
#989B52
secondary
#9291B8
accent
#61C765
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11110B
muted
#80807C

Preview Lab

Preview with #989B52

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

Preview Lab → · Contrast checker → · Palette generator →

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