#998A22#998A22

#998A22 is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.9% C 0.119 H 100.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#998A22
RGBrgb(153, 138, 34)
HSLhsl(52, 64%, 37%)
HSVhsv(52, 78%, 60%)
CMYKcmyk(0%, 9.8%, 77.8%, 40%)
CIE-LABlab(57.14, -5.88, 53.70)
CIE-LCHlch(57.14, 54.02, 96.25°)
OKLaboklab(62.85% -0.0221 0.1174)
OKLCHoklch(62.85% 0.119 100.7)
XYZxyz(22.5152, 25.0658, 5.1653)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998A22 #223199
analogous
#994F22 #998A22 #6D9922
triadic
#998A22 #22998A #8A2299
tetradic
#998A22 #22994F #223199 #99226D
square
#998A22 #22994F #223199 #99226D
split-complementary
#998A22 #226D99 #4F2299
monochromatic
#35300C #675D17 #998A22 #CBB72D #DBCA5B

Accessibility & contrast

On white

3.49
#998A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#998A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998A22
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998A22#FFFFFF#000000##000000
##998A221.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #998a22;
/* rgb */ color: rgb(153, 138, 34);
/* oklch */ color: oklch(62.9% 0.119 100.7);
Tailwind
colors: {
  custom: {
    50: '#bbab66',
    500: '#998a22',
    950: '#000000',
  },
}
SCSS
$custom: #998a22;
$custom-light: #bbab66;
$custom-dark: #000000;
JSON
{
  "hex": "#998a22",
  "rgb": {
    "r": 153,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 52.437,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62852,
    "c": 0.11948,
    "h": 100.7
  },
  "luminance": 0.25065
}

Semantic roles & 50–950 ramp

primary
#998A22
secondary
#5865BF
accent
#56E741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998A22

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

Preview Lab → · Contrast checker → · Palette generator →

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