#988122#988122

#988122 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.8% C 0.113 H 94.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#988122
RGBrgb(152, 129, 34)
HSLhsl(48, 63%, 36%)
HSVhsv(48, 78%, 60%)
CMYKcmyk(0%, 15.1%, 77.6%, 40.4%)
CIE-LABlab(54.55, -1.38, 51.26)
CIE-LCHlch(54.55, 51.27, 91.54°)
OKLaboklab(60.77% -0.0093 0.1122)
OKLCHoklch(60.77% 0.113 94.7)
XYZxyz(21.0890, 22.4926, 4.7438)
Luminance0.2249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988122 #223998
analogous
#984622 #988122 #749822
triadic
#988122 #229881 #812298
tetradic
#988122 #229846 #223998 #982274
square
#988122 #229846 #223998 #982274
split-complementary
#988122 #227498 #462298
monochromatic
#342C0C #665717 #988122 #CAAB2D #DAC15A

Accessibility & contrast

On white

3.82
#988122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#988122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988122
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988122#FFFFFF#000000##000000
##9881221.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#958528
Tritanopia (blue-blind)
#A5766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #988122;
/* rgb */ color: rgb(152, 129, 34);
/* oklch */ color: oklch(60.8% 0.113 94.7);
Tailwind
colors: {
  custom: {
    50: '#baa565',
    500: '#988122',
    950: '#000000',
  },
}
SCSS
$custom: #988122;
$custom-light: #baa565;
$custom-dark: #000000;
JSON
{
  "hex": "#988122",
  "rgb": {
    "r": 152,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 48.305,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60774,
    "c": 0.11263,
    "h": 94.7
  },
  "luminance": 0.22491
}

Semantic roles & 50–950 ramp

primary
#988122
secondary
#576BBE
accent
#62E641
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #988122

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

Preview Lab → · Contrast checker → · Palette generator →

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