#998522#998522

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

Color values

HEX#998522
RGBrgb(153, 133, 34)
HSLhsl(50, 64%, 37%)
HSVhsv(50, 78%, 60%)
CMYKcmyk(0%, 13.1%, 77.8%, 40%)
CIE-LABlab(55.75, -3.14, 52.41)
CIE-LCHlch(55.75, 52.51, 93.43°)
OKLaboklab(61.75% -0.0144 0.1147)
OKLCHoklch(61.75% 0.116 97.1)
XYZxyz(21.8143, 23.6640, 4.9317)
Luminance0.2366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998522 #223699
analogous
#994A22 #998522 #729922
triadic
#998522 #229985 #852299
tetradic
#998522 #22994A #223699 #992272
square
#998522 #22994A #223699 #992272
split-complementary
#998522 #227299 #4A2299
monochromatic
#352E0C #675917 #998522 #CBB12D #DBC55B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998522#FFFFFF#000000##000000
##9985221.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)
#93820E
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#A67A72
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #998522;
/* rgb */ color: rgb(153, 133, 34);
/* oklch */ color: oklch(61.8% 0.116 97.1);
Tailwind
colors: {
  custom: {
    50: '#bba865',
    500: '#998522',
    950: '#000000',
  },
}
SCSS
$custom: #998522;
$custom-light: #bba865;
$custom-dark: #000000;
JSON
{
  "hex": "#998522",
  "rgb": {
    "r": 153,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 49.916,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6175,
    "c": 0.11557,
    "h": 97.1
  },
  "luminance": 0.23663
}

Semantic roles & 50–950 ramp

primary
#998522
secondary
#5869BF
accent
#5DE741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998522

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

Preview Lab → · Contrast checker → · Palette generator →

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