#998B20#998B20

#998B20 is a light, vivid yellow. Relative luminance 0.253; OKLCH L 63.1% C 0.121 H 101.4°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#998B20
RGBrgb(153, 139, 32)
HSLhsl(53, 65%, 36%)
HSVhsv(53, 79%, 60%)
CMYKcmyk(0%, 9.2%, 79.1%, 40%)
CIE-LABlab(57.41, -6.51, 54.63)
CIE-LCHlch(57.41, 55.02, 96.80°)
OKLaboklab(63.06% -0.0241 0.119)
OKLCHoklch(63.06% 0.121 101.4)
XYZxyz(22.6313, 25.3429, 5.0658)
Luminance0.2534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998B20 #202E99
analogous
#994F20 #998B20 #6B9920
triadic
#998B20 #20998B #8B2099
tetradic
#998B20 #20994F #202E99 #99206B
square
#998B20 #20994F #202E99 #99206B
split-complementary
#998B20 #206B99 #4F2099
monochromatic
#342F0B #665D15 #998B20 #CCB92B #DCCD57

Accessibility & contrast

On white

3.46
#998B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#998B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998B20
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998B20#FFFFFF#000000##000000
##998B201.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998705
Deuteranopia (green-blind)
#9D8C28
Tritanopia (blue-blind)
#A58077
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #998b20;
/* rgb */ color: rgb(153, 139, 32);
/* oklch */ color: oklch(63.1% 0.121 101.4);
Tailwind
colors: {
  custom: {
    50: '#bbac65',
    500: '#998b20',
    950: '#000000',
  },
}
SCSS
$custom: #998b20;
$custom-light: #bbac65;
$custom-dark: #000000;
JSON
{
  "hex": "#998b20",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 53.058,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63062,
    "c": 0.12141,
    "h": 101.4
  },
  "luminance": 0.25342
}

Semantic roles & 50–950 ramp

primary
#998B20
secondary
#5561C0
accent
#53E83F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998B20

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

Preview Lab → · Contrast checker → · Palette generator →

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