#99872C#99872C

#99872C is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.3% C 0.111 H 97.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#99872C
RGBrgb(153, 135, 44)
HSLhsl(50, 55%, 39%)
HSVhsv(50, 71%, 60%)
CMYKcmyk(0%, 11.8%, 71.2%, 40%)
CIE-LABlab(56.37, -3.76, 49.11)
CIE-LCHlch(56.37, 49.25, 94.38°)
OKLaboklab(62.26% -0.015 0.1096)
OKLCHoklch(62.26% 0.111 97.8)
XYZxyz(22.2565, 24.2832, 5.8972)
Luminance0.2428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99872C #2C3E99
analogous
#99502C #99872C #74992C
triadic
#99872C #2C9987 #872C99
tetradic
#99872C #2C9950 #2C3E99 #992C74
square
#99872C #2C9950 #2C3E99 #992C74
split-complementary
#99872C #2C7499 #502C99
monochromatic
#3A3311 #695D1E #99872C #C7B03B #D4C36B

Accessibility & contrast

On white

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

On black

5.86
#99872C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #99872C
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99872C#FFFFFF#000000##000000
##99872C1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841F
Deuteranopia (green-blind)
#998A31
Tritanopia (blue-blind)
#A57D75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #99872c;
/* rgb */ color: rgb(153, 135, 44);
/* oklch */ color: oklch(62.3% 0.111 97.8);
Tailwind
colors: {
  custom: {
    50: '#baa96b',
    500: '#99872c',
    950: '#000000',
  },
}
SCSS
$custom: #99872c;
$custom-light: #baa96b;
$custom-dark: #000000;
JSON
{
  "hex": "#99872c",
  "rgb": {
    "r": 153,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 50.092,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62263,
    "c": 0.11065,
    "h": 97.8
  },
  "luminance": 0.24282
}

Semantic roles & 50–950 ramp

primary
#99872C
secondary
#6674BB
accent
#62DF49
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #99872C

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

Preview Lab → · Contrast checker → · Palette generator →

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