#988038#988038

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

Color values

HEX#988038
RGBrgb(152, 128, 56)
HSLhsl(45, 46%, 41%)
HSVhsv(45, 63%, 60%)
CMYKcmyk(0%, 15.8%, 63.2%, 40.4%)
CIE-LABlab(54.45, 0.44, 41.58)
CIE-LCHlch(54.45, 41.58, 89.40°)
OKLaboklab(60.76% -0.0014 0.0957)
OKLCHoklch(60.76% 0.096 90.9)
XYZxyz(21.3829, 22.4004, 6.9380)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988038 #385098
analogous
#985038 #988038 #809838
triadic
#988038 #389880 #803898
tetradic
#988038 #389850 #385098 #983880
square
#988038 #389850 #385098 #983880
split-complementary
#988038 #388098 #503898
monochromatic
#3F3517 #6B5A28 #988038 #BEA24F #CFBA7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##988038#FFFFFF#000000##000000
##9880381.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)
#8D7E30
Deuteranopia (green-blind)
#93853B
Tritanopia (blue-blind)
#A47670
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #988038;
/* rgb */ color: rgb(152, 128, 56);
/* oklch */ color: oklch(60.8% 0.096 90.9);
Tailwind
colors: {
  custom: {
    50: '#b9a471',
    500: '#988038',
    950: '#000000',
  },
}
SCSS
$custom: #988038;
$custom-light: #b9a471;
$custom-dark: #000000;
JSON
{
  "hex": "#988038",
  "rgb": {
    "r": 152,
    "g": 128,
    "b": 56
  },
  "hsl": {
    "h": 45,
    "s": 46.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.60755,
    "c": 0.09569,
    "h": 90.9
  },
  "luminance": 0.22399
}

Semantic roles & 50–950 ramp

primary
#988038
secondary
#7485B8
accent
#73D652
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #988038

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

Preview Lab → · Contrast checker → · Palette generator →

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