#998322#998322

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

Color values

HEX#998322
RGBrgb(153, 131, 34)
HSLhsl(49, 64%, 37%)
HSVhsv(49, 78%, 60%)
CMYKcmyk(0%, 14.4%, 77.8%, 40%)
CIE-LABlab(55.20, -2.03, 51.90)
CIE-LCHlch(55.20, 51.94, 92.24°)
OKLaboklab(61.31% -0.0112 0.1136)
OKLCHoklch(61.31% 0.114 95.6)
XYZxyz(21.5431, 23.1216, 4.8413)
Luminance0.2312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998322 #223899
analogous
#994822 #998322 #749922
triadic
#998322 #229983 #832299
tetradic
#998322 #229948 #223899 #992274
square
#998322 #229948 #223899 #992274
split-complementary
#998322 #227499 #482299
monochromatic
#352D0C #675817 #998322 #CBAE2D #DBC35B

Accessibility & contrast

On white

3.73
#998322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##998322#FFFFFF#000000##000000
##9983221.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #998322;
/* rgb */ color: rgb(153, 131, 34);
/* oklch */ color: oklch(61.3% 0.114 95.6);
Tailwind
colors: {
  custom: {
    50: '#bba665',
    500: '#998322',
    950: '#000000',
  },
}
SCSS
$custom: #998322;
$custom-light: #bba665;
$custom-dark: #000000;
JSON
{
  "hex": "#998322",
  "rgb": {
    "r": 153,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 48.908,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61313,
    "c": 0.11412,
    "h": 95.6
  },
  "luminance": 0.2312
}

Semantic roles & 50–950 ramp

primary
#998322
secondary
#586BBF
accent
#60E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998322

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

Preview Lab → · Contrast checker → · Palette generator →

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