#998420#998420

#998420 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.5% C 0.116 H 96.6°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#998420
RGBrgb(153, 132, 32)
HSLhsl(50, 65%, 36%)
HSVhsv(50, 79%, 60%)
CMYKcmyk(0%, 13.7%, 79.1%, 40%)
CIE-LABlab(55.46, -2.67, 52.86)
CIE-LCHlch(55.46, 52.93, 92.89°)
OKLaboklab(61.52% -0.0132 0.1152)
OKLCHoklch(61.52% 0.116 96.6)
XYZxyz(21.6500, 23.3803, 4.7387)
Luminance0.2338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998420 #203599
analogous
#994820 #998420 #729920
triadic
#998420 #209984 #842099
tetradic
#998420 #209948 #203599 #992072
square
#998420 #209948 #203599 #992072
split-complementary
#998420 #207299 #482099
monochromatic
#342D0B #665815 #998420 #CCB02B #DCC557

Accessibility & contrast

On white

3.70
#998420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#998420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998420
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998420#FFFFFF#000000##000000
##9984201.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928109
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#A67971
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #998420;
/* rgb */ color: rgb(153, 132, 32);
/* oklch */ color: oklch(61.5% 0.116 96.6);
Tailwind
colors: {
  custom: {
    50: '#bba764',
    500: '#998420',
    950: '#000000',
  },
}
SCSS
$custom: #998420;
$custom-light: #bba764;
$custom-dark: #000000;
JSON
{
  "hex": "#998420",
  "rgb": {
    "r": 153,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 49.587,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61518,
    "c": 0.11596,
    "h": 96.6
  },
  "luminance": 0.23379
}

Semantic roles & 50–950 ramp

primary
#998420
secondary
#5568C0
accent
#5DE83F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998420

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

Preview Lab → · Contrast checker → · Palette generator →

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