#988B22#988B22

#988B22 is a light, vivid yellow. Relative luminance 0.253; OKLCH L 63.0% C 0.120 H 101.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#988B22
RGBrgb(152, 139, 34)
HSLhsl(53, 63%, 36%)
HSVhsv(53, 78%, 60%)
CMYKcmyk(0%, 8.6%, 77.6%, 40.4%)
CIE-LABlab(57.33, -6.88, 53.84)
CIE-LCHlch(57.33, 54.28, 97.29°)
OKLaboklab(62.98% -0.0249 0.1178)
OKLCHoklch(62.98% 0.12 101.9)
XYZxyz(22.4713, 25.2571, 5.2045)
Luminance0.2526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988B22 #222F98
analogous
#985022 #988B22 #6A9822
triadic
#988B22 #22988B #8B2298
tetradic
#988B22 #229850 #222F98 #98226A
square
#988B22 #229850 #222F98 #98226A
split-complementary
#988B22 #226A98 #502298
monochromatic
#34300C #665D17 #988B22 #CAB92D #DACC5A

Accessibility & contrast

On white

3.47
#988B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#988B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988B22
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988B22#FFFFFF#000000##000000
##988B221.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #988b22;
/* rgb */ color: rgb(152, 139, 34);
/* oklch */ color: oklch(63.0% 0.120 101.9);
Tailwind
colors: {
  custom: {
    50: '#baac66',
    500: '#988b22',
    950: '#000000',
  },
}
SCSS
$custom: #988b22;
$custom-light: #baac66;
$custom-dark: #000000;
JSON
{
  "hex": "#988b22",
  "rgb": {
    "r": 152,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 53.39,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62977,
    "c": 0.12035,
    "h": 101.9
  },
  "luminance": 0.25256
}

Semantic roles & 50–950 ramp

primary
#988B22
secondary
#5763BE
accent
#54E641
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988B22

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

Preview Lab → · Contrast checker → · Palette generator →

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