#988022#988022

#988022 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.6% C 0.112 H 94.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#988022
RGBrgb(152, 128, 34)
HSLhsl(48, 63%, 36%)
HSVhsv(48, 78%, 60%)
CMYKcmyk(0%, 15.8%, 77.6%, 40.4%)
CIE-LABlab(54.27, -0.82, 51.00)
CIE-LCHlch(54.27, 51.00, 90.92°)
OKLaboklab(60.56% -0.0077 0.1117)
OKLCHoklch(60.56% 0.112 94)
XYZxyz(20.9580, 22.2305, 4.7001)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988022 #223A98
analogous
#984522 #988022 #759822
triadic
#988022 #229880 #802298
tetradic
#988022 #229845 #223A98 #982275
square
#988022 #229845 #223A98 #982275
split-complementary
#988022 #227598 #452298
monochromatic
#342C0C #665617 #988022 #CAAA2D #DAC05A

Accessibility & contrast

On white

3.86
#988022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#988022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988022
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988022#FFFFFF#000000##000000
##9880221.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E10
Deuteranopia (green-blind)
#948528
Tritanopia (blue-blind)
#A5756E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #988022;
/* rgb */ color: rgb(152, 128, 34);
/* oklch */ color: oklch(60.6% 0.112 94.0);
Tailwind
colors: {
  custom: {
    50: '#baa465',
    500: '#988022',
    950: '#000000',
  },
}
SCSS
$custom: #988022;
$custom-light: #baa465;
$custom-dark: #000000;
JSON
{
  "hex": "#988022",
  "rgb": {
    "r": 152,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 47.797,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60557,
    "c": 0.11196,
    "h": 94
  },
  "luminance": 0.22229
}

Semantic roles & 50–950 ramp

primary
#988022
secondary
#576CBE
accent
#63E641
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #988022

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

Preview Lab → · Contrast checker → · Palette generator →

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