#99872A#99872A

#99872A is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.2% C 0.112 H 98.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#99872A
RGBrgb(153, 135, 42)
HSLhsl(50, 57%, 38%)
HSVhsv(50, 73%, 60%)
CMYKcmyk(0%, 11.8%, 72.5%, 40%)
CIE-LABlab(56.36, -3.86, 49.92)
CIE-LCHlch(56.36, 50.07, 94.43°)
OKLaboklab(62.25% -0.0155 0.111)
OKLCHoklch(62.25% 0.112 98)
XYZxyz(22.2198, 24.2685, 5.7039)
Luminance0.2427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99872A #2A3C99
analogous
#994F2A #99872A #73992A
triadic
#99872A #2A9987 #872A99
tetradic
#99872A #2A994F #2A3C99 #992A73
square
#99872A #2A994F #2A3C99 #992A73
split-complementary
#99872A #2A7399 #4F2A99
monochromatic
#393210 #695D1D #99872A #C8B138 #D6C468

Accessibility & contrast

On white

3.59
#99872A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#99872A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #99872A
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99872A#FFFFFF#000000##000000
##99872A1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841C
Deuteranopia (green-blind)
#998A30
Tritanopia (blue-blind)
#A57D74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #99872a;
/* rgb */ color: rgb(153, 135, 42);
/* oklch */ color: oklch(62.2% 0.112 98.0);
Tailwind
colors: {
  custom: {
    50: '#baa96a',
    500: '#99872a',
    950: '#000000',
  },
}
SCSS
$custom: #99872a;
$custom-light: #baa96a;
$custom-dark: #000000;
JSON
{
  "hex": "#99872a",
  "rgb": {
    "r": 153,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 50.27,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62246,
    "c": 0.11205,
    "h": 98
  },
  "luminance": 0.24267
}

Semantic roles & 50–950 ramp

primary
#99872A
secondary
#6371BC
accent
#60E048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #99872A

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

Preview Lab → · Contrast checker → · Palette generator →

#99872A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva