#988622#988622

#988622 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.9% C 0.116 H 98.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#988622
RGBrgb(152, 134, 34)
HSLhsl(51, 63%, 36%)
HSVhsv(51, 78%, 60%)
CMYKcmyk(0%, 11.8%, 77.6%, 40.4%)
CIE-LABlab(55.93, -4.15, 52.55)
CIE-LCHlch(55.93, 52.71, 94.51°)
OKLaboklab(61.87% -0.0172 0.115)
OKLCHoklch(61.87% 0.116 98.5)
XYZxyz(21.7638, 23.8422, 4.9687)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988622 #223498
analogous
#984B22 #988622 #6F9822
triadic
#988622 #229886 #862298
tetradic
#988622 #22984B #223498 #98226F
square
#988622 #22984B #223498 #98226F
split-complementary
#988622 #226F98 #4B2298
monochromatic
#342E0C #665A17 #988622 #CAB22D #DAC75A

Accessibility & contrast

On white

3.64
#988622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#988622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988622
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988622#FFFFFF#000000##000000
##9886221.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94820D
Deuteranopia (green-blind)
#998929
Tritanopia (blue-blind)
#A47B73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #988622;
/* rgb */ color: rgb(152, 134, 34);
/* oklch */ color: oklch(61.9% 0.116 98.5);
Tailwind
colors: {
  custom: {
    50: '#baa865',
    500: '#988622',
    950: '#000000',
  },
}
SCSS
$custom: #988622;
$custom-light: #baa865;
$custom-dark: #000000;
JSON
{
  "hex": "#988622",
  "rgb": {
    "r": 152,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 50.847,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61869,
    "c": 0.11626,
    "h": 98.5
  },
  "luminance": 0.23841
}

Semantic roles & 50–950 ramp

primary
#988622
secondary
#5767BE
accent
#5BE641
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #988622

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

Preview Lab → · Contrast checker → · Palette generator →

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