#998722#998722

#998722 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.2% C 0.117 H 98.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#998722
RGBrgb(153, 135, 34)
HSLhsl(51, 64%, 37%)
HSVhsv(51, 78%, 60%)
CMYKcmyk(0%, 11.8%, 77.8%, 40%)
CIE-LABlab(56.30, -4.24, 52.93)
CIE-LCHlch(56.30, 53.10, 94.58°)
OKLaboklab(62.19% -0.0175 0.1158)
OKLCHoklch(62.19% 0.117 98.6)
XYZxyz(22.0907, 24.2169, 5.0238)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998722 #223499
analogous
#994C22 #998722 #709922
triadic
#998722 #229987 #872299
tetradic
#998722 #22994C #223499 #992270
square
#998722 #22994C #223499 #992270
split-complementary
#998722 #227099 #4C2299
monochromatic
#352F0C #675B17 #998722 #CBB32D #DBC75B

Accessibility & contrast

On white

3.59
#998722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#998722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998722
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998722#FFFFFF#000000##000000
##9987221.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830D
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#A57C74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #998722;
/* rgb */ color: rgb(153, 135, 34);
/* oklch */ color: oklch(62.2% 0.117 98.6);
Tailwind
colors: {
  custom: {
    50: '#bba966',
    500: '#998722',
    950: '#000000',
  },
}
SCSS
$custom: #998722;
$custom-light: #bba966;
$custom-dark: #000000;
JSON
{
  "hex": "#998722",
  "rgb": {
    "r": 153,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 50.924,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62189,
    "c": 0.11708,
    "h": 98.6
  },
  "luminance": 0.24216
}

Semantic roles & 50–950 ramp

primary
#998722
secondary
#5867BF
accent
#5AE741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998722

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

Preview Lab → · Contrast checker → · Palette generator →

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