#998320#998320

#998320 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.3% C 0.115 H 95.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#998320
RGBrgb(153, 131, 32)
HSLhsl(49, 65%, 36%)
HSVhsv(49, 79%, 60%)
CMYKcmyk(0%, 14.4%, 79.1%, 40%)
CIE-LABlab(55.19, -2.11, 52.61)
CIE-LCHlch(55.19, 52.65, 92.30°)
OKLaboklab(61.3% -0.0117 0.1147)
OKLCHoklch(61.3% 0.115 95.8)
XYZxyz(21.5150, 23.1104, 4.6937)
Luminance0.2311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998320 #203699
analogous
#994720 #998320 #739920
triadic
#998320 #209983 #832099
tetradic
#998320 #209947 #203699 #992073
square
#998320 #209947 #203699 #992073
split-complementary
#998320 #207399 #472099
monochromatic
#342C0B #665815 #998320 #CCAE2B #DCC457

Accessibility & contrast

On white

3.74
#998320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#998320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998320
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998320#FFFFFF#000000##000000
##9983201.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#A67870
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #998320;
/* rgb */ color: rgb(153, 131, 32);
/* oklch */ color: oklch(61.3% 0.115 95.8);
Tailwind
colors: {
  custom: {
    50: '#bba664',
    500: '#998320',
    950: '#000000',
  },
}
SCSS
$custom: #998320;
$custom-light: #bba664;
$custom-dark: #000000;
JSON
{
  "hex": "#998320",
  "rgb": {
    "r": 153,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 49.091,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.613,
    "c": 0.11525,
    "h": 95.8
  },
  "luminance": 0.23109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #998320

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

Preview Lab → · Contrast checker → · Palette generator →

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