#998C20#998C20

#998C20 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.3% C 0.122 H 102.1°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#998C20
RGBrgb(153, 140, 32)
HSLhsl(54, 65%, 36%)
HSVhsv(54, 79%, 60%)
CMYKcmyk(0%, 8.5%, 79.1%, 40%)
CIE-LABlab(57.69, -7.05, 54.89)
CIE-LCHlch(57.69, 55.34, 97.32°)
OKLaboklab(63.28% -0.0256 0.1195)
OKLCHoklch(63.28% 0.122 102.1)
XYZxyz(22.7767, 25.6338, 5.1143)
Luminance0.2563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998C20 #202D99
analogous
#995020 #998C20 #6A9920
triadic
#998C20 #20998C #8C2099
tetradic
#998C20 #209950 #202D99 #99206A
square
#998C20 #209950 #202D99 #99206A
split-complementary
#998C20 #206A99 #502099
monochromatic
#342F0B #665E15 #998C20 #CCBA2B #DCCE57

Accessibility & contrast

On white

3.43
#998C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#998C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998C20
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998C20#FFFFFF#000000##000000
##998C201.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8704
Deuteranopia (green-blind)
#9D8D28
Tritanopia (blue-blind)
#A58178
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998c20;
/* rgb */ color: rgb(153, 140, 32);
/* oklch */ color: oklch(63.3% 0.122 102.1);
Tailwind
colors: {
  custom: {
    50: '#bbad65',
    500: '#998c20',
    950: '#000000',
  },
}
SCSS
$custom: #998c20;
$custom-light: #bbad65;
$custom-dark: #000000;
JSON
{
  "hex": "#998c20",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 53.554,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63284,
    "c": 0.12225,
    "h": 102.1
  },
  "luminance": 0.25633
}

Semantic roles & 50–950 ramp

primary
#998C20
secondary
#5560C0
accent
#52E83F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998C20

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

Preview Lab → · Contrast checker → · Palette generator →

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