#988322#988322

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

Color values

HEX#988322
RGBrgb(152, 131, 34)
HSLhsl(49, 63%, 36%)
HSVhsv(49, 78%, 60%)
CMYKcmyk(0%, 13.8%, 77.6%, 40.4%)
CIE-LABlab(55.10, -2.49, 51.77)
CIE-LCHlch(55.10, 51.83, 92.75°)
OKLaboklab(61.21% -0.0125 0.1133)
OKLCHoklch(61.21% 0.114 96.3)
XYZxyz(21.3551, 23.0247, 4.8324)
Luminance0.2302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988322 #223798
analogous
#984822 #988322 #729822
triadic
#988322 #229883 #832298
tetradic
#988322 #229848 #223798 #982272
square
#988322 #229848 #223798 #982272
split-complementary
#988322 #227298 #482298
monochromatic
#342D0C #665817 #988322 #CAAE2D #DAC35A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##988322#FFFFFF#000000##000000
##9883221.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)
#91800F
Deuteranopia (green-blind)
#968728
Tritanopia (blue-blind)
#A57870
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #988322;
/* rgb */ color: rgb(152, 131, 34);
/* oklch */ color: oklch(61.2% 0.114 96.3);
Tailwind
colors: {
  custom: {
    50: '#baa665',
    500: '#988322',
    950: '#000000',
  },
}
SCSS
$custom: #988322;
$custom-light: #baa665;
$custom-dark: #000000;
JSON
{
  "hex": "#988322",
  "rgb": {
    "r": 152,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 49.322,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61211,
    "c": 0.11402,
    "h": 96.3
  },
  "luminance": 0.23023
}

Semantic roles & 50–950 ramp

primary
#988322
secondary
#576ABE
accent
#5FE641
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #988322

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

Preview Lab → · Contrast checker → · Palette generator →

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