#988031#988031

#988031 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.7% C 0.102 H 92.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#988031
RGBrgb(152, 128, 49)
HSLhsl(46, 51%, 39%)
HSVhsv(46, 68%, 60%)
CMYKcmyk(0%, 15.8%, 67.8%, 40.4%)
CIE-LABlab(54.38, -0.03, 44.83)
CIE-LCHlch(54.38, 44.83, 90.04°)
OKLaboklab(60.68% -0.0037 0.1015)
OKLCHoklch(60.68% 0.102 92.1)
XYZxyz(21.2235, 22.3367, 6.0987)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988031 #314998
analogous
#984C31 #988031 #7D9831
triadic
#988031 #319880 #803198
tetradic
#988031 #31984C #314998 #98317D
square
#988031 #31984C #314998 #98317D
split-complementary
#988031 #317D98 #4C3198
monochromatic
#3B3213 #6A5922 #988031 #C3A544 #D2BB72

Accessibility & contrast

On white

3.84
#988031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#988031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988031
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988031#FFFFFF#000000##000000
##9880311.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E27
Deuteranopia (green-blind)
#948535
Tritanopia (blue-blind)
#A4766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #988031;
/* rgb */ color: rgb(152, 128, 49);
/* oklch */ color: oklch(60.7% 0.102 92.1);
Tailwind
colors: {
  custom: {
    50: '#b9a46d',
    500: '#988031',
    950: '#000000',
  },
}
SCSS
$custom: #988031;
$custom-light: #b9a46d;
$custom-dark: #000000;
JSON
{
  "hex": "#988031",
  "rgb": {
    "r": 152,
    "g": 128,
    "b": 49
  },
  "hsl": {
    "h": 46.019,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6068,
    "c": 0.10157,
    "h": 92.1
  },
  "luminance": 0.22335
}

Semantic roles & 50–950 ramp

primary
#988031
secondary
#6B7EB9
accent
#6EDB4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #988031

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

Preview Lab → · Contrast checker → · Palette generator →

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