#988728#988728

#988728 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.1% C 0.113 H 98.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#988728
RGBrgb(152, 135, 40)
HSLhsl(51, 58%, 38%)
HSVhsv(51, 74%, 60%)
CMYKcmyk(0%, 11.2%, 73.7%, 40.4%)
CIE-LABlab(56.25, -4.42, 50.58)
CIE-LCHlch(56.25, 50.77, 95.00°)
OKLaboklab(62.13% -0.0173 0.112)
OKLCHoklch(62.13% 0.113 98.8)
XYZxyz(21.9969, 24.1576, 5.5113)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988728 #283998
analogous
#984F28 #988728 #719828
triadic
#988728 #289887 #872898
tetradic
#988728 #28984F #283998 #982871
square
#988728 #28984F #283998 #982871
split-complementary
#988728 #287198 #4F2898
monochromatic
#37310F #685C1B #988728 #C8B235 #D6C564

Accessibility & contrast

On white

3.60
#988728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#988728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988728
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988728#FFFFFF#000000##000000
##9887281.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958319
Deuteranopia (green-blind)
#99892E
Tritanopia (blue-blind)
#A47D74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #988728;
/* rgb */ color: rgb(152, 135, 40);
/* oklch */ color: oklch(62.1% 0.113 98.8);
Tailwind
colors: {
  custom: {
    50: '#baa969',
    500: '#988728',
    950: '#000000',
  },
}
SCSS
$custom: #988728;
$custom-light: #baa969;
$custom-dark: #000000;
JSON
{
  "hex": "#988728",
  "rgb": {
    "r": 152,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 50.893,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62132,
    "c": 0.11335,
    "h": 98.8
  },
  "luminance": 0.24157
}

Semantic roles & 50–950 ramp

primary
#988728
secondary
#606EBC
accent
#5EE246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #988728

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

Preview Lab → · Contrast checker → · Palette generator →

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