#998520#998520

#998520 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.7% C 0.117 H 97.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#998520
RGBrgb(153, 133, 32)
HSLhsl(50, 65%, 36%)
HSVhsv(50, 79%, 60%)
CMYKcmyk(0%, 13.1%, 79.1%, 40%)
CIE-LABlab(55.74, -3.22, 53.11)
CIE-LCHlch(55.74, 53.21, 93.47°)
OKLaboklab(61.74% -0.0148 0.1157)
OKLCHoklch(61.74% 0.117 97.3)
XYZxyz(21.7863, 23.6528, 4.7841)
Luminance0.2365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998520 #203499
analogous
#994920 #998520 #719920
triadic
#998520 #209985 #852099
tetradic
#998520 #209949 #203499 #992071
square
#998520 #209949 #203499 #992071
split-complementary
#998520 #207199 #492099
monochromatic
#342D0B #665915 #998520 #CCB12B #DCC657

Accessibility & contrast

On white

3.66
#998520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#998520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998520
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998520#FFFFFF#000000##000000
##9985201.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938209
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#A67A72
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #998520;
/* rgb */ color: rgb(153, 133, 32);
/* oklch */ color: oklch(61.7% 0.117 97.3);
Tailwind
colors: {
  custom: {
    50: '#bba864',
    500: '#998520',
    950: '#000000',
  },
}
SCSS
$custom: #998520;
$custom-light: #bba864;
$custom-dark: #000000;
JSON
{
  "hex": "#998520",
  "rgb": {
    "r": 153,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 50.083,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61737,
    "c": 0.11668,
    "h": 97.3
  },
  "luminance": 0.23652
}

Semantic roles & 50–950 ramp

primary
#998520
secondary
#5567C0
accent
#5BE83F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998520

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

Preview Lab → · Contrast checker → · Palette generator →

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