#988932#988932

#988932 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.108 H 99.4°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#988932
RGBrgb(152, 137, 50)
HSLhsl(51, 50%, 40%)
HSVhsv(51, 67%, 60%)
CMYKcmyk(0%, 9.9%, 67.1%, 40.4%)
CIE-LABlab(56.88, -4.96, 47.01)
CIE-LCHlch(56.88, 47.27, 96.02°)
OKLaboklab(62.66% -0.0177 0.1063)
OKLCHoklch(62.66% 0.108 99.4)
XYZxyz(22.4713, 24.7980, 6.6198)
Luminance0.2480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988932 #324198
analogous
#985632 #988932 #749832
triadic
#988932 #329889 #893298
tetradic
#988932 #329856 #324198 #983274
square
#988932 #329856 #324198 #983274
split-complementary
#988932 #327498 #563298
monochromatic
#3C3614 #6A5F23 #988932 #C2B045 #D1C373

Accessibility & contrast

On white

3.52
#988932 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#988932 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988932
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988932#FFFFFF#000000##000000
##9889321.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968527
Deuteranopia (green-blind)
#9A8B37
Tritanopia (blue-blind)
#A47F77
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #988932;
/* rgb */ color: rgb(152, 137, 50);
/* oklch */ color: oklch(62.7% 0.108 99.4);
Tailwind
colors: {
  custom: {
    50: '#b9ab6e',
    500: '#988932',
    950: '#000000',
  },
}
SCSS
$custom: #988932;
$custom-light: #b9ab6e;
$custom-dark: #000000;
JSON
{
  "hex": "#988932",
  "rgb": {
    "r": 152,
    "g": 137,
    "b": 50
  },
  "hsl": {
    "h": 51.176,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62658,
    "c": 0.10774,
    "h": 99.4
  },
  "luminance": 0.24797
}

Semantic roles & 50–950 ramp

primary
#988932
secondary
#6D78B9
accent
#62DA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #988932

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

Preview Lab → · Contrast checker → · Palette generator →

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