#988957#988957

#988957 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.2% C 0.071 H 93.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#988957
RGBrgb(152, 137, 87)
HSLhsl(46, 27%, 47%)
HSVhsv(46, 43%, 60%)
CMYKcmyk(0%, 9.9%, 42.8%, 40.4%)
CIE-LABlab(57.32, -1.72, 28.84)
CIE-LCHlch(57.32, 28.89, 93.41°)
OKLaboklab(63.15% -0.0041 0.0705)
OKLCHoklch(63.15% 0.071 93.3)
XYZxyz(23.6154, 25.2557, 12.6459)
Luminance0.2525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988957 #576698
analogous
#986957 #988957 #879857
triadic
#988957 #579889 #895798
tetradic
#988957 #579869 #576698 #985787
square
#988957 #579869 #576698 #985787
split-complementary
#988957 #578798 #695798
monochromatic
#4A432A #716641 #988957 #B3A57A #C9C0A0

Accessibility & contrast

On white

3.47
#988957 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#988957 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988957
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988957#FFFFFF#000000##000000
##9889571.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938753
Deuteranopia (green-blind)
#978C59
Tritanopia (blue-blind)
#A1827D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #988957;
/* rgb */ color: rgb(152, 137, 87);
/* oklch */ color: oklch(63.2% 0.071 93.3);
Tailwind
colors: {
  custom: {
    50: '#b7ab87',
    500: '#988957',
    950: '#000000',
  },
}
SCSS
$custom: #988957;
$custom-light: #b7ab87;
$custom-dark: #000000;
JSON
{
  "hex": "#988957",
  "rgb": {
    "r": 152,
    "g": 137,
    "b": 87
  },
  "hsl": {
    "h": 46.154,
    "s": 27.197,
    "l": 46.863
  },
  "oklch": {
    "l": 0.63154,
    "c": 0.0706,
    "h": 93.3
  },
  "luminance": 0.25255
}

Semantic roles & 50–950 ramp

primary
#988957
secondary
#949CB6
accent
#7AC464
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#11100B
muted
#807F7C

Preview Lab

Preview with #988957

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

Preview Lab → · Contrast checker → · Palette generator →

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