#988321#988321

#988321 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.2% C 0.115 H 96.4°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#988321
RGBrgb(152, 131, 33)
HSLhsl(49, 64%, 36%)
HSVhsv(49, 78%, 60%)
CMYKcmyk(0%, 13.8%, 78.3%, 40.4%)
CIE-LABlab(55.09, -2.53, 52.13)
CIE-LCHlch(55.09, 52.19, 92.78°)
OKLaboklab(61.2% -0.0127 0.1139)
OKLCHoklch(61.2% 0.115 96.4)
XYZxyz(21.3408, 23.0190, 4.7576)
Luminance0.2302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988321 #213698
analogous
#984821 #988321 #729821
triadic
#988321 #219883 #832198
tetradic
#988321 #219848 #213698 #982172
square
#988321 #219848 #213698 #982172
split-complementary
#988321 #217298 #482198
monochromatic
#332C0B #665816 #988321 #CAAE2C #DBC459

Accessibility & contrast

On white

3.75
#988321 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#988321 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988321
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988321#FFFFFF#000000##000000
##9883211.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800D
Deuteranopia (green-blind)
#968728
Tritanopia (blue-blind)
#A57870
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #988321;
/* rgb */ color: rgb(152, 131, 33);
/* oklch */ color: oklch(61.2% 0.115 96.4);
Tailwind
colors: {
  custom: {
    50: '#baa665',
    500: '#988321',
    950: '#000000',
  },
}
SCSS
$custom: #988321;
$custom-light: #baa665;
$custom-dark: #000000;
JSON
{
  "hex": "#988321",
  "rgb": {
    "r": 152,
    "g": 131,
    "b": 33
  },
  "hsl": {
    "h": 49.412,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61204,
    "c": 0.1146,
    "h": 96.4
  },
  "luminance": 0.23018
}

Semantic roles & 50–950 ramp

primary
#988321
secondary
#5668BF
accent
#5EE740
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #988321

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

Preview Lab → · Contrast checker → · Palette generator →

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