#988522#988522

#988522 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.6% C 0.116 H 97.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#988522
RGBrgb(152, 133, 34)
HSLhsl(50, 63%, 36%)
HSVhsv(50, 78%, 60%)
CMYKcmyk(0%, 12.5%, 77.6%, 40.4%)
CIE-LABlab(55.65, -3.60, 52.29)
CIE-LCHlch(55.65, 52.41, 93.94°)
OKLaboklab(61.65% -0.0156 0.1144)
OKLCHoklch(61.65% 0.116 97.8)
XYZxyz(21.6263, 23.5671, 4.9229)
Luminance0.2357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988522 #223598
analogous
#984A22 #988522 #709822
triadic
#988522 #229885 #852298
tetradic
#988522 #22984A #223598 #982270
square
#988522 #22984A #223598 #982270
split-complementary
#988522 #227098 #4A2298
monochromatic
#342D0C #665917 #988522 #CAB12D #DAC65A

Accessibility & contrast

On white

3.68
#988522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#988522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988522
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988522#FFFFFF#000000##000000
##9885221.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820E
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#A47A72
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #988522;
/* rgb */ color: rgb(152, 133, 34);
/* oklch */ color: oklch(61.6% 0.116 97.8);
Tailwind
colors: {
  custom: {
    50: '#baa865',
    500: '#988522',
    950: '#000000',
  },
}
SCSS
$custom: #988522;
$custom-light: #baa865;
$custom-dark: #000000;
JSON
{
  "hex": "#988522",
  "rgb": {
    "r": 152,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 50.339,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61649,
    "c": 0.1155,
    "h": 97.8
  },
  "luminance": 0.23566
}

Semantic roles & 50–950 ramp

primary
#988522
secondary
#5768BE
accent
#5CE641
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #988522

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

Preview Lab → · Contrast checker → · Palette generator →

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