#988422#988422

#988422 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.4% C 0.115 H 97.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#988422
RGBrgb(152, 132, 34)
HSLhsl(50, 63%, 36%)
HSVhsv(50, 78%, 60%)
CMYKcmyk(0%, 13.2%, 77.6%, 40.4%)
CIE-LABlab(55.37, -3.04, 52.03)
CIE-LCHlch(55.37, 52.12, 93.35°)
OKLaboklab(61.43% -0.014 0.1139)
OKLCHoklch(61.43% 0.115 97)
XYZxyz(21.4900, 23.2946, 4.8774)
Luminance0.2329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988422 #223698
analogous
#984922 #988422 #719822
triadic
#988422 #229884 #842298
tetradic
#988422 #229849 #223698 #982271
square
#988422 #229849 #223698 #982271
split-complementary
#988422 #227198 #492298
monochromatic
#342D0C #665917 #988422 #CAAF2D #DAC45A

Accessibility & contrast

On white

3.71
#988422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#988422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988422
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988422#FFFFFF#000000##000000
##9884221.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#A47971
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #988422;
/* rgb */ color: rgb(152, 132, 34);
/* oklch */ color: oklch(61.4% 0.115 97.0);
Tailwind
colors: {
  custom: {
    50: '#baa765',
    500: '#988422',
    950: '#000000',
  },
}
SCSS
$custom: #988422;
$custom-light: #baa765;
$custom-dark: #000000;
JSON
{
  "hex": "#988422",
  "rgb": {
    "r": 152,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 49.831,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6143,
    "c": 0.11475,
    "h": 97
  },
  "luminance": 0.23293
}

Semantic roles & 50–950 ramp

primary
#988422
secondary
#5769BE
accent
#5DE641
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #988422

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

Preview Lab → · Contrast checker → · Palette generator →

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