#998642#998642

#998642 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.091 H 94.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#998642
RGBrgb(153, 134, 66)
HSLhsl(47, 40%, 43%)
HSVhsv(47, 57%, 60%)
CMYKcmyk(0%, 12.4%, 56.9%, 40%)
CIE-LABlab(56.30, -1.68, 38.74)
CIE-LCHlch(56.30, 38.77, 92.49°)
OKLaboklab(62.28% -0.0063 0.0908)
OKLCHoklch(62.28% 0.091 94)
XYZxyz(22.6462, 24.2169, 8.6347)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998642 #425599
analogous
#995B42 #998642 #809942
triadic
#998642 #429986 #864299
tetradic
#998642 #42995B #425599 #994280
square
#998642 #42995B #425599 #994280
split-complementary
#998642 #428099 #5B4299
monochromatic
#433B1D #6E6130 #998642 #BAA65E #CCBE89

Accessibility & contrast

On white

3.59
#998642 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#998642 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998642
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998642#FFFFFF#000000##000000
##9986421.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92843C
Deuteranopia (green-blind)
#978945
Tritanopia (blue-blind)
#A47D77
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #998642;
/* rgb */ color: rgb(153, 134, 66);
/* oklch */ color: oklch(62.3% 0.091 94.0);
Tailwind
colors: {
  custom: {
    50: '#b9a978',
    500: '#998642',
    950: '#000000',
  },
}
SCSS
$custom: #998642;
$custom-light: #b9a978;
$custom-dark: #000000;
JSON
{
  "hex": "#998642",
  "rgb": {
    "r": 153,
    "g": 134,
    "b": 66
  },
  "hsl": {
    "h": 46.897,
    "s": 39.726,
    "l": 42.941
  },
  "oklch": {
    "l": 0.62278,
    "c": 0.09103,
    "h": 94
  },
  "luminance": 0.24216
}

Semantic roles & 50–950 ramp

primary
#998642
secondary
#808CB7
accent
#72D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F09
muted
#817F7B

Preview Lab

Preview with #998642

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

Preview Lab → · Contrast checker → · Palette generator →

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