#988331#988331

#988331 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.3% C 0.104 H 94.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#988331
RGBrgb(152, 131, 49)
HSLhsl(48, 51%, 39%)
HSVhsv(48, 68%, 60%)
CMYKcmyk(0%, 13.8%, 67.8%, 40.4%)
CIE-LABlab(55.21, -1.71, 45.70)
CIE-LCHlch(55.21, 45.73, 92.14°)
OKLaboklab(61.33% -0.0085 0.1033)
OKLCHoklch(61.33% 0.104 94.7)
XYZxyz(21.6206, 23.1309, 6.2310)
Luminance0.2313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988331 #314698
analogous
#985031 #988331 #7A9831
triadic
#988331 #319883 #833198
tetradic
#988331 #319850 #314698 #98317A
square
#988331 #319850 #314698 #98317A
split-complementary
#988331 #317A98 #503198
monochromatic
#3B3313 #6A5B22 #988331 #C3A944 #D2BE72

Accessibility & contrast

On white

3.73
#988331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#988331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988331
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988331#FFFFFF#000000##000000
##9883311.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908027
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#A47972
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #988331;
/* rgb */ color: rgb(152, 131, 49);
/* oklch */ color: oklch(61.3% 0.104 94.7);
Tailwind
colors: {
  custom: {
    50: '#b9a66d',
    500: '#988331',
    950: '#000000',
  },
}
SCSS
$custom: #988331;
$custom-light: #b9a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#988331",
  "rgb": {
    "r": 152,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 47.767,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61332,
    "c": 0.10369,
    "h": 94.7
  },
  "luminance": 0.2313
}

Semantic roles & 50–950 ramp

primary
#988331
secondary
#6B7BB9
accent
#6ADB4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #988331

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

Preview Lab → · Contrast checker → · Palette generator →

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