#998D22#998D22

#998D22 is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.5% C 0.122 H 102.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#998D22
RGBrgb(153, 141, 34)
HSLhsl(54, 64%, 37%)
HSVhsv(54, 78%, 60%)
CMYKcmyk(0%, 7.8%, 77.8%, 40%)
CIE-LABlab(57.98, -7.52, 54.48)
CIE-LCHlch(57.98, 54.99, 97.85°)
OKLaboklab(63.52% -0.0267 0.1191)
OKLCHoklch(63.52% 0.122 102.6)
XYZxyz(22.9515, 25.9386, 5.3108)
Luminance0.2594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D22 #222E99
analogous
#995222 #998D22 #6A9922
triadic
#998D22 #22998D #8D2299
tetradic
#998D22 #229952 #222E99 #99226A
square
#998D22 #229952 #222E99 #99226A
split-complementary
#998D22 #226A99 #522299
monochromatic
#35310C #675F17 #998D22 #CBBB2D #DBCE5B

Accessibility & contrast

On white

3.39
#998D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#998D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D22
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D22#FFFFFF#000000##000000
##998D221.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8809
Deuteranopia (green-blind)
#9E8E2A
Tritanopia (blue-blind)
#A58379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998d22;
/* rgb */ color: rgb(153, 141, 34);
/* oklch */ color: oklch(63.5% 0.122 102.6);
Tailwind
colors: {
  custom: {
    50: '#bbae66',
    500: '#998d22',
    950: '#000000',
  },
}
SCSS
$custom: #998d22;
$custom-light: #bbae66;
$custom-dark: #000000;
JSON
{
  "hex": "#998d22",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 53.95,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63518,
    "c": 0.12203,
    "h": 102.6
  },
  "luminance": 0.25938
}

Semantic roles & 50–950 ramp

primary
#998D22
secondary
#5862BF
accent
#52E741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998D22

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

Preview Lab → · Contrast checker → · Palette generator →

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