#998A20#998A20

#998A20 is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.8% C 0.121 H 100.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#998A20
RGBrgb(153, 138, 32)
HSLhsl(53, 65%, 36%)
HSVhsv(53, 79%, 60%)
CMYKcmyk(0%, 9.8%, 79.1%, 40%)
CIE-LABlab(57.13, -5.96, 54.38)
CIE-LCHlch(57.13, 54.71, 96.26°)
OKLaboklab(62.84% -0.0225 0.1185)
OKLCHoklch(62.84% 0.121 100.8)
XYZxyz(22.4872, 25.0546, 5.0178)
Luminance0.2505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998A20 #202F99
analogous
#994E20 #998A20 #6C9920
triadic
#998A20 #20998A #8A2099
tetradic
#998A20 #20994E #202F99 #99206C
square
#998A20 #20994E #202F99 #99206C
split-complementary
#998A20 #206C99 #4E2099
monochromatic
#342F0B #665C15 #998A20 #CCB82B #DCCC57

Accessibility & contrast

On white

3.49
#998A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#998A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998A20
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998A20#FFFFFF#000000##000000
##998A201.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988606
Deuteranopia (green-blind)
#9C8C28
Tritanopia (blue-blind)
#A57F76
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #998a20;
/* rgb */ color: rgb(153, 138, 32);
/* oklch */ color: oklch(62.8% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#bbab65',
    500: '#998a20',
    950: '#000000',
  },
}
SCSS
$custom: #998a20;
$custom-light: #bbab65;
$custom-dark: #000000;
JSON
{
  "hex": "#998a20",
  "rgb": {
    "r": 153,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 52.562,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6284,
    "c": 0.12058,
    "h": 100.8
  },
  "luminance": 0.25054
}

Semantic roles & 50–950 ramp

primary
#998A20
secondary
#5562C0
accent
#54E83F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998A20

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

Preview Lab → · Contrast checker → · Palette generator →

#998A20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva