#998920#998920

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

Color values

HEX#998920
RGBrgb(153, 137, 32)
HSLhsl(52, 65%, 36%)
HSVhsv(52, 79%, 60%)
CMYKcmyk(0%, 10.5%, 79.1%, 40%)
CIE-LABlab(56.85, -5.42, 54.13)
CIE-LCHlch(56.85, 54.40, 95.72°)
OKLaboklab(62.62% -0.021 0.1179)
OKLCHoklch(62.62% 0.12 100.1)
XYZxyz(22.3443, 24.7690, 4.9702)
Luminance0.2477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998920 #203099
analogous
#994D20 #998920 #6D9920
triadic
#998920 #209989 #892099
tetradic
#998920 #20994D #203099 #99206D
square
#998920 #20994D #203099 #99206D
split-complementary
#998920 #206D99 #4D2099
monochromatic
#342E0B #665C15 #998920 #CCB62B #DCCA57

Accessibility & contrast

On white

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

On black

5.95
#998920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998920
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998920#FFFFFF#000000##000000
##9989201.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978506
Deuteranopia (green-blind)
#9B8B28
Tritanopia (blue-blind)
#A57E75
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #998920;
/* rgb */ color: rgb(153, 137, 32);
/* oklch */ color: oklch(62.6% 0.120 100.1);
Tailwind
colors: {
  custom: {
    50: '#bbab65',
    500: '#998920',
    950: '#000000',
  },
}
SCSS
$custom: #998920;
$custom-light: #bbab65;
$custom-dark: #000000;
JSON
{
  "hex": "#998920",
  "rgb": {
    "r": 153,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 52.066,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62618,
    "c": 0.11977,
    "h": 100.1
  },
  "luminance": 0.24768
}

Semantic roles & 50–950 ramp

primary
#998920
secondary
#5563C0
accent
#56E83F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998920

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

Preview Lab → · Contrast checker → · Palette generator →

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