#998622#998622

#998622 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 62.0% C 0.116 H 97.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#998622
RGBrgb(153, 134, 34)
HSLhsl(50, 64%, 37%)
HSVhsv(50, 78%, 60%)
CMYKcmyk(0%, 12.4%, 77.8%, 40%)
CIE-LABlab(56.03, -3.69, 52.67)
CIE-LCHlch(56.03, 52.80, 94.01°)
OKLaboklab(61.97% -0.0159 0.1152)
OKLCHoklch(61.97% 0.116 97.9)
XYZxyz(21.9518, 23.9391, 4.9775)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998622 #223599
analogous
#994B22 #998622 #719922
triadic
#998622 #229986 #862299
tetradic
#998622 #22994B #223599 #992271
square
#998622 #22994B #223599 #992271
split-complementary
#998622 #227199 #4B2299
monochromatic
#352E0C #675A17 #998622 #CBB22D #DBC65B

Accessibility & contrast

On white

3.63
#998622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#998622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998622
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998622#FFFFFF#000000##000000
##9986221.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #998622;
/* rgb */ color: rgb(153, 134, 34);
/* oklch */ color: oklch(62.0% 0.116 97.9);
Tailwind
colors: {
  custom: {
    50: '#bba865',
    500: '#998622',
    950: '#000000',
  },
}
SCSS
$custom: #998622;
$custom-light: #bba865;
$custom-dark: #000000;
JSON
{
  "hex": "#998622",
  "rgb": {
    "r": 153,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 50.42,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61969,
    "c": 0.11632,
    "h": 97.9
  },
  "luminance": 0.23938
}

Semantic roles & 50–950 ramp

primary
#998622
secondary
#5868BF
accent
#5CE741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998622

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

Preview Lab → · Contrast checker → · Palette generator →

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