#988A22#988A22

#988A22 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.8% C 0.120 H 101.3°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#988A22
RGBrgb(152, 138, 34)
HSLhsl(53, 63%, 36%)
HSVhsv(53, 78%, 60%)
CMYKcmyk(0%, 9.2%, 77.6%, 40.4%)
CIE-LABlab(57.05, -6.34, 53.58)
CIE-LCHlch(57.05, 53.95, 96.75°)
OKLaboklab(62.76% -0.0234 0.1172)
OKLCHoklch(62.76% 0.12 101.3)
XYZxyz(22.3272, 24.9689, 5.1565)
Luminance0.2497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988A22 #223098
analogous
#984F22 #988A22 #6B9822
triadic
#988A22 #22988A #8A2298
tetradic
#988A22 #22984F #223098 #98226B
square
#988A22 #22984F #223098 #98226B
split-complementary
#988A22 #226B98 #4F2298
monochromatic
#342F0C #665D17 #988A22 #CAB72D #DACB5A

Accessibility & contrast

On white

3.50
#988A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#988A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988A22
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988A22#FFFFFF#000000##000000
##988A221.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860B
Deuteranopia (green-blind)
#9C8B2A
Tritanopia (blue-blind)
#A48076
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #988a22;
/* rgb */ color: rgb(152, 138, 34);
/* oklch */ color: oklch(62.8% 0.120 101.3);
Tailwind
colors: {
  custom: {
    50: '#baab66',
    500: '#988a22',
    950: '#000000',
  },
}
SCSS
$custom: #988a22;
$custom-light: #baab66;
$custom-dark: #000000;
JSON
{
  "hex": "#988a22",
  "rgb": {
    "r": 152,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 52.881,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62755,
    "c": 0.11951,
    "h": 101.3
  },
  "luminance": 0.24968
}

Semantic roles & 50–950 ramp

primary
#988A22
secondary
#5764BE
accent
#55E641
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988A22

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

Preview Lab → · Contrast checker → · Palette generator →

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