#988C22#988C22

#988C22 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.2% C 0.121 H 102.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#988C22
RGBrgb(152, 140, 34)
HSLhsl(54, 63%, 36%)
HSVhsv(54, 78%, 60%)
CMYKcmyk(0%, 7.9%, 77.6%, 40.4%)
CIE-LABlab(57.61, -7.43, 54.10)
CIE-LCHlch(57.61, 54.61, 97.82°)
OKLaboklab(63.2% -0.0264 0.1183)
OKLCHoklch(63.2% 0.121 102.6)
XYZxyz(22.6168, 25.5481, 5.2530)
Luminance0.2555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988C22 #222E98
analogous
#985122 #988C22 #699822
triadic
#988C22 #22988C #8C2298
tetradic
#988C22 #229851 #222E98 #982269
square
#988C22 #229851 #222E98 #982269
split-complementary
#988C22 #226998 #512298
monochromatic
#34300C #665E17 #988C22 #CABA2D #DACD5A

Accessibility & contrast

On white

3.44
#988C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#988C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988C22
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988C22#FFFFFF#000000##000000
##988C221.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870A
Deuteranopia (green-blind)
#9D8D2A
Tritanopia (blue-blind)
#A48278
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #988c22;
/* rgb */ color: rgb(152, 140, 34);
/* oklch */ color: oklch(63.2% 0.121 102.6);
Tailwind
colors: {
  custom: {
    50: '#baad66',
    500: '#988c22',
    950: '#000000',
  },
}
SCSS
$custom: #988c22;
$custom-light: #baad66;
$custom-dark: #000000;
JSON
{
  "hex": "#988c22",
  "rgb": {
    "r": 152,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 53.898,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.632,
    "c": 0.12121,
    "h": 102.6
  },
  "luminance": 0.25547
}

Semantic roles & 50–950 ramp

primary
#988C22
secondary
#5762BE
accent
#52E641
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988C22

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

Preview Lab → · Contrast checker → · Palette generator →

#988C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva