#998922#998922

#998922 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.6% C 0.119 H 100.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#998922
RGBrgb(153, 137, 34)
HSLhsl(52, 64%, 37%)
HSVhsv(52, 78%, 60%)
CMYKcmyk(0%, 10.5%, 77.8%, 40%)
CIE-LABlab(56.86, -5.34, 53.44)
CIE-LCHlch(56.86, 53.71, 95.70°)
OKLaboklab(62.63% -0.0206 0.1169)
OKLCHoklch(62.63% 0.119 100)
XYZxyz(22.3724, 24.7802, 5.1177)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998922 #223299
analogous
#994E22 #998922 #6E9922
triadic
#998922 #229989 #892299
tetradic
#998922 #22994E #223299 #99226E
square
#998922 #22994E #223299 #99226E
split-complementary
#998922 #226E99 #4E2299
monochromatic
#352F0C #675C17 #998922 #CBB62D #DBC95B

Accessibility & contrast

On white

3.53
#998922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#998922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998922
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998922#FFFFFF#000000##000000
##9989221.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850C
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#A57E75
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #998922;
/* rgb */ color: rgb(153, 137, 34);
/* oklch */ color: oklch(62.6% 0.119 100.0);
Tailwind
colors: {
  custom: {
    50: '#bbab66',
    500: '#998922',
    950: '#000000',
  },
}
SCSS
$custom: #998922;
$custom-light: #bbab66;
$custom-dark: #000000;
JSON
{
  "hex": "#998922",
  "rgb": {
    "r": 153,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 51.933,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62631,
    "c": 0.11867,
    "h": 100
  },
  "luminance": 0.24779
}

Semantic roles & 50–950 ramp

primary
#998922
secondary
#5866BF
accent
#57E741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998922

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

Preview Lab → · Contrast checker → · Palette generator →

#998922 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva