#998620#998620

#998620 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 62.0% C 0.117 H 98.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#998620
RGBrgb(153, 134, 32)
HSLhsl(51, 65%, 36%)
HSVhsv(51, 79%, 60%)
CMYKcmyk(0%, 12.4%, 79.1%, 40%)
CIE-LABlab(56.02, -3.77, 53.37)
CIE-LCHlch(56.02, 53.50, 94.04°)
OKLaboklab(61.96% -0.0164 0.1163)
OKLCHoklch(61.96% 0.117 98)
XYZxyz(21.9238, 23.9279, 4.8300)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998620 #203399
analogous
#994A20 #998620 #709920
triadic
#998620 #209986 #862099
tetradic
#998620 #20994A #203399 #992070
square
#998620 #20994A #203399 #992070
split-complementary
#998620 #207099 #4A2099
monochromatic
#342D0B #665A15 #998620 #CCB22B #DCC757

Accessibility & contrast

On white

3.63
#998620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#998620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998620
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998620#FFFFFF#000000##000000
##9986201.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948308
Deuteranopia (green-blind)
#998927
Tritanopia (blue-blind)
#A67B73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #998620;
/* rgb */ color: rgb(153, 134, 32);
/* oklch */ color: oklch(62.0% 0.117 98.0);
Tailwind
colors: {
  custom: {
    50: '#bba865',
    500: '#998620',
    950: '#000000',
  },
}
SCSS
$custom: #998620;
$custom-light: #bba865;
$custom-dark: #000000;
JSON
{
  "hex": "#998620",
  "rgb": {
    "r": 153,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 50.579,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61957,
    "c": 0.11744,
    "h": 98
  },
  "luminance": 0.23927
}

Semantic roles & 50–950 ramp

primary
#998620
secondary
#5566C0
accent
#5AE83F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998620

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

Preview Lab → · Contrast checker → · Palette generator →

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