#998720#998720

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

Color values

HEX#998720
RGBrgb(153, 135, 32)
HSLhsl(51, 65%, 36%)
HSVhsv(51, 79%, 60%)
CMYKcmyk(0%, 11.8%, 79.1%, 40%)
CIE-LABlab(56.29, -4.32, 53.62)
CIE-LCHlch(56.29, 53.79, 94.61°)
OKLaboklab(62.18% -0.0179 0.1168)
OKLCHoklch(62.18% 0.118 98.7)
XYZxyz(22.0627, 24.2057, 4.8763)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998720 #203299
analogous
#994B20 #998720 #6F9920
triadic
#998720 #209987 #872099
tetradic
#998720 #20994B #203299 #99206F
square
#998720 #20994B #203299 #99206F
split-complementary
#998720 #206F99 #4B2099
monochromatic
#342E0B #665A15 #998720 #CCB42B #DCC857

Accessibility & contrast

On white

3.60
#998720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##998720#FFFFFF#000000##000000
##9987201.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958308
Deuteranopia (green-blind)
#9A8A27
Tritanopia (blue-blind)
#A57C74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #998720;
/* rgb */ color: rgb(153, 135, 32);
/* oklch */ color: oklch(62.2% 0.118 98.7);
Tailwind
colors: {
  custom: {
    50: '#bba965',
    500: '#998720',
    950: '#000000',
  },
}
SCSS
$custom: #998720;
$custom-light: #bba965;
$custom-dark: #000000;
JSON
{
  "hex": "#998720",
  "rgb": {
    "r": 153,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 51.074,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62177,
    "c": 0.11819,
    "h": 98.7
  },
  "luminance": 0.24205
}

Semantic roles & 50–950 ramp

primary
#998720
secondary
#5565C0
accent
#59E83F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998720

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

Preview Lab → · Contrast checker → · Palette generator →

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