#998C22#998C22

#998C22 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.3% C 0.121 H 102.0°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#998C22
RGBrgb(153, 140, 34)
HSLhsl(53, 64%, 37%)
HSVhsv(53, 78%, 60%)
CMYKcmyk(0%, 8.5%, 77.8%, 40%)
CIE-LABlab(57.70, -6.97, 54.22)
CIE-LCHlch(57.70, 54.66, 97.33°)
OKLaboklab(63.3% -0.0252 0.1185)
OKLCHoklch(63.3% 0.121 102)
XYZxyz(22.8048, 25.6450, 5.2618)
Luminance0.2564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998C22 #222F99
analogous
#995122 #998C22 #6B9922
triadic
#998C22 #22998C #8C2299
tetradic
#998C22 #229951 #222F99 #99226B
square
#998C22 #229951 #222F99 #99226B
split-complementary
#998C22 #226B99 #512299
monochromatic
#35300C #675E17 #998C22 #CBBA2D #DBCD5B

Accessibility & contrast

On white

3.43
#998C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#998C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998C22
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998C22#FFFFFF#000000##000000
##998C221.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880A
Deuteranopia (green-blind)
#9D8D2A
Tritanopia (blue-blind)
#A58278
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998c22;
/* rgb */ color: rgb(153, 140, 34);
/* oklch */ color: oklch(63.3% 0.121 102.0);
Tailwind
colors: {
  custom: {
    50: '#bbad66',
    500: '#998c22',
    950: '#000000',
  },
}
SCSS
$custom: #998c22;
$custom-light: #bbad66;
$custom-dark: #000000;
JSON
{
  "hex": "#998c22",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 53.445,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63296,
    "c": 0.12116,
    "h": 102
  },
  "luminance": 0.25644
}

Semantic roles & 50–950 ramp

primary
#998C22
secondary
#5863BF
accent
#53E741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998C22

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

Preview Lab → · Contrast checker → · Palette generator →

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