#998F22#998F22

#998F22 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 64.0% C 0.124 H 103.9°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#998F22
RGBrgb(153, 143, 34)
HSLhsl(55, 64%, 37%)
HSVhsv(55, 78%, 60%)
CMYKcmyk(0%, 6.5%, 77.8%, 40%)
CIE-LABlab(58.54, -8.60, 54.99)
CIE-LCHlch(58.54, 55.66, 98.88°)
OKLaboklab(63.97% -0.0298 0.1202)
OKLCHoklch(63.97% 0.124 103.9)
XYZxyz(23.2491, 26.5337, 5.4099)
Luminance0.2653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F22 #222C99
analogous
#995422 #998F22 #689922
triadic
#998F22 #22998F #8F2299
tetradic
#998F22 #229954 #222C99 #992268
square
#998F22 #229954 #222C99 #992268
split-complementary
#998F22 #226899 #542299
monochromatic
#35310C #676017 #998F22 #CBBE2D #DBD05B

Accessibility & contrast

On white

3.33
#998F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#998F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F22
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F22#FFFFFF#000000##000000
##998F221.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A08
Deuteranopia (green-blind)
#A08F2A
Tritanopia (blue-blind)
#A5857A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f22;
/* rgb */ color: rgb(153, 143, 34);
/* oklch */ color: oklch(64.0% 0.124 103.9);
Tailwind
colors: {
  custom: {
    50: '#bbaf67',
    500: '#998f22',
    950: '#000000',
  },
}
SCSS
$custom: #998f22;
$custom-light: #bbaf67;
$custom-dark: #000000;
JSON
{
  "hex": "#998f22",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 54.958,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63965,
    "c": 0.1238,
    "h": 103.9
  },
  "luminance": 0.26533
}

Semantic roles & 50–950 ramp

primary
#998F22
secondary
#5861BF
accent
#4FE741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998F22

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

Preview Lab → · Contrast checker → · Palette generator →

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