#998820#998820

#998820 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.4% C 0.119 H 99.4°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#998820
RGBrgb(153, 136, 32)
HSLhsl(52, 65%, 36%)
HSVhsv(52, 79%, 60%)
CMYKcmyk(0%, 11.1%, 79.1%, 40%)
CIE-LABlab(56.57, -4.87, 53.87)
CIE-LCHlch(56.57, 54.09, 95.17°)
OKLaboklab(62.4% -0.0195 0.1174)
OKLCHoklch(62.4% 0.119 99.4)
XYZxyz(22.2029, 24.4860, 4.9230)
Luminance0.2449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998820 #203199
analogous
#994C20 #998820 #6E9920
triadic
#998820 #209988 #882099
tetradic
#998820 #20994C #203199 #99206E
square
#998820 #20994C #203199 #99206E
split-complementary
#998820 #206E99 #4C2099
monochromatic
#342E0B #665B15 #998820 #CCB52B #DCC957

Accessibility & contrast

On white

3.56
#998820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#998820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998820
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998820#FFFFFF#000000##000000
##9988201.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968407
Deuteranopia (green-blind)
#9B8A28
Tritanopia (blue-blind)
#A57D74
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #998820;
/* rgb */ color: rgb(153, 136, 32);
/* oklch */ color: oklch(62.4% 0.119 99.4);
Tailwind
colors: {
  custom: {
    50: '#bbaa65',
    500: '#998820',
    950: '#000000',
  },
}
SCSS
$custom: #998820;
$custom-light: #bbaa65;
$custom-dark: #000000;
JSON
{
  "hex": "#998820",
  "rgb": {
    "r": 153,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 51.57,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62397,
    "c": 0.11897,
    "h": 99.4
  },
  "luminance": 0.24485
}

Semantic roles & 50–950 ramp

primary
#998820
secondary
#5564C0
accent
#57E83F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998820

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

Preview Lab → · Contrast checker → · Palette generator →

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