#988037#988037

#988037 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.7% C 0.097 H 91.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#988037
RGBrgb(152, 128, 55)
HSLhsl(45, 47%, 41%)
HSVhsv(45, 64%, 60%)
CMYKcmyk(0%, 15.8%, 63.8%, 40.4%)
CIE-LABlab(54.44, 0.37, 42.06)
CIE-LCHlch(54.44, 42.06, 89.50°)
OKLaboklab(60.74% -0.0017 0.0966)
OKLCHoklch(60.74% 0.097 91)
XYZxyz(21.3587, 22.3907, 6.8105)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988037 #374F98
analogous
#985037 #988037 #7F9837
triadic
#988037 #379880 #803798
tetradic
#988037 #379850 #374F98 #98377F
square
#988037 #379850 #374F98 #98377F
split-complementary
#988037 #377F98 #503798
monochromatic
#3E3416 #6B5A27 #988037 #BFA34D #CFBA7A

Accessibility & contrast

On white

3.83
#988037 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#988037 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988037
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988037#FFFFFF#000000##000000
##9880371.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2F
Deuteranopia (green-blind)
#93853A
Tritanopia (blue-blind)
#A47670
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #988037;
/* rgb */ color: rgb(152, 128, 55);
/* oklch */ color: oklch(60.7% 0.097 91.0);
Tailwind
colors: {
  custom: {
    50: '#b9a471',
    500: '#988037',
    950: '#000000',
  },
}
SCSS
$custom: #988037;
$custom-light: #b9a471;
$custom-dark: #000000;
JSON
{
  "hex": "#988037",
  "rgb": {
    "r": 152,
    "g": 128,
    "b": 55
  },
  "hsl": {
    "h": 45.155,
    "s": 46.86,
    "l": 40.588
  },
  "oklch": {
    "l": 0.60743,
    "c": 0.09657,
    "h": 91
  },
  "luminance": 0.2239
}

Semantic roles & 50–950 ramp

primary
#988037
secondary
#7384B8
accent
#72D651
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #988037

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

Preview Lab → · Contrast checker → · Palette generator →

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