#989958#989958

#989958 is a light, moderate yellow. Relative luminance 0.302; OKLCH L 66.7% C 0.087 H 109.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#989958
RGBrgb(152, 153, 88)
HSLhsl(61, 27%, 47%)
HSVhsv(61, 42%, 60%)
CMYKcmyk(0.7%, 0%, 42.5%, 40%)
CIE-LABlab(61.79, -10.32, 33.96)
CIE-LCHlch(61.79, 35.50, 106.91°)
OKLaboklab(66.7% -0.0288 0.0822)
OKLCHoklch(66.7% 0.087 109.3)
XYZxyz(26.1020, 30.1630, 13.6777)
Luminance0.3016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989958 #595899
analogous
#997A58 #989958 #789958
triadic
#989958 #589899 #995898
tetradic
#989958 #58997A #595899 #995878
square
#989958 #58997A #595899 #995878
split-complementary
#989958 #587899 #7A5899
monochromatic
#4B4B2B #717242 #989958 #B2B37B #C9C9A2

Accessibility & contrast

On white

2.99
#989958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#989958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989958
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989958#FFFFFF#000000##000000
##9899581.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29453
Deuteranopia (green-blind)
#A3965B
Tritanopia (blue-blind)
#A09289
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989958;
/* rgb */ color: rgb(152, 153, 88);
/* oklch */ color: oklch(66.7% 0.087 109.3);
Tailwind
colors: {
  custom: {
    50: '#b7b688',
    500: '#989958',
    950: '#000000',
  },
}
SCSS
$custom: #989958;
$custom-light: #b7b688;
$custom-dark: #000000;
JSON
{
  "hex": "#989958",
  "rgb": {
    "r": 152,
    "g": 153,
    "b": 88
  },
  "hsl": {
    "h": 60.923,
    "s": 26.971,
    "l": 47.255
  },
  "oklch": {
    "l": 0.66703,
    "c": 0.08705,
    "h": 109.3
  },
  "luminance": 0.30162
}

Semantic roles & 50–950 ramp

primary
#989958
secondary
#9696B7
accent
#64C366
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110B
muted
#80807C

Preview Lab

Preview with #989958

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

Preview Lab → · Contrast checker → · Palette generator →

#989958 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva