#989751#989751

#989751 is a light, moderate yellow. Relative luminance 0.294; OKLCH L 66.1% C 0.092 H 108.0°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#989751
RGBrgb(152, 151, 81)
HSLhsl(59, 30%, 46%)
HSVhsv(59, 47%, 60%)
CMYKcmyk(0%, 0.7%, 46.7%, 40.4%)
CIE-LABlab(61.14, -10.00, 36.80)
CIE-LCHlch(61.14, 38.13, 105.20°)
OKLaboklab(66.15% -0.0285 0.088)
OKLCHoklch(66.15% 0.092 108)
XYZxyz(25.5012, 29.4033, 12.1150)
Luminance0.2940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989751 #515298
analogous
#987351 #989751 #759851
triadic
#989751 #519897 #975198
tetradic
#989751 #519873 #515298 #985175
square
#989751 #519873 #515298 #985175
split-complementary
#989751 #517598 #735198
monochromatic
#484826 #706F3C #989751 #B4B372 #C9C99A

Accessibility & contrast

On white

3.05
#989751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#989751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989751
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989751#FFFFFF#000000##000000
##9897511.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1924B
Deuteranopia (green-blind)
#A29554
Tritanopia (blue-blind)
#A18F87
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #989751;
/* rgb */ color: rgb(152, 151, 81);
/* oklch */ color: oklch(66.1% 0.092 108.0);
Tailwind
colors: {
  custom: {
    50: '#b8b583',
    500: '#989751',
    950: '#000000',
  },
}
SCSS
$custom: #989751;
$custom-light: #b8b583;
$custom-dark: #000000;
JSON
{
  "hex": "#989751",
  "rgb": {
    "r": 152,
    "g": 151,
    "b": 81
  },
  "hsl": {
    "h": 59.155,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.66148,
    "c": 0.09248,
    "h": 108
  },
  "luminance": 0.29403
}

Semantic roles & 50–950 ramp

primary
#989751
secondary
#8F8FB6
accent
#63C761
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11110B
muted
#80807C

Preview Lab

Preview with #989751

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

Preview Lab → · Contrast checker → · Palette generator →

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