#988928#988928

#988928 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.6% C 0.115 H 100.2°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#988928
RGBrgb(152, 137, 40)
HSLhsl(52, 58%, 38%)
HSVhsv(52, 74%, 60%)
CMYKcmyk(0%, 9.9%, 73.7%, 40.4%)
CIE-LABlab(56.80, -5.52, 51.12)
CIE-LCHlch(56.80, 51.42, 96.16°)
OKLaboklab(62.57% -0.0204 0.1132)
OKLCHoklch(62.57% 0.115 100.2)
XYZxyz(22.2786, 24.7210, 5.6052)
Luminance0.2472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988928 #283798
analogous
#985128 #988928 #6F9828
triadic
#988928 #289889 #892898
tetradic
#988928 #289851 #283798 #98286F
square
#988928 #289851 #283798 #98286F
split-complementary
#988928 #286F98 #512898
monochromatic
#37320F #685D1B #988928 #C8B535 #D6C764

Accessibility & contrast

On white

3.53
#988928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#988928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988928
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988928#FFFFFF#000000##000000
##9889281.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968518
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#A47F76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #988928;
/* rgb */ color: rgb(152, 137, 40);
/* oklch */ color: oklch(62.6% 0.115 100.2);
Tailwind
colors: {
  custom: {
    50: '#baab69',
    500: '#988928',
    950: '#000000',
  },
}
SCSS
$custom: #988928;
$custom-light: #baab69;
$custom-dark: #000000;
JSON
{
  "hex": "#988928",
  "rgb": {
    "r": 152,
    "g": 137,
    "b": 40
  },
  "hsl": {
    "h": 51.964,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62574,
    "c": 0.115,
    "h": 100.2
  },
  "luminance": 0.2472
}

Semantic roles & 50–950 ramp

primary
#988928
secondary
#606CBC
accent
#5BE246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #988928

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

Preview Lab → · Contrast checker → · Palette generator →

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