#99872F#99872F

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

Color values

HEX#99872F
RGBrgb(153, 135, 47)
HSLhsl(50, 53%, 39%)
HSVhsv(50, 69%, 60%)
CMYKcmyk(0%, 11.8%, 69.3%, 40%)
CIE-LABlab(56.39, -3.59, 47.85)
CIE-LCHlch(56.39, 47.99, 94.29°)
OKLaboklab(62.29% -0.0142 0.1075)
OKLCHoklch(62.29% 0.108 97.5)
XYZxyz(22.3150, 24.3066, 6.2050)
Luminance0.2430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99872F #2F4199
analogous
#99522F #99872F #76992F
triadic
#99872F #2F9987 #872F99
tetradic
#99872F #2F9952 #2F4199 #992F76
square
#99872F #2F9952 #2F4199 #992F76
split-complementary
#99872F #2F7699 #522F99
monochromatic
#3B3412 #6A5E21 #99872F #C5AE41 #D3C26F

Accessibility & contrast

On white

3.58
#99872F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##99872F#FFFFFF#000000##000000
##99872F1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948423
Deuteranopia (green-blind)
#998A34
Tritanopia (blue-blind)
#A57D75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #99872f;
/* rgb */ color: rgb(153, 135, 47);
/* oklch */ color: oklch(62.3% 0.108 97.5);
Tailwind
colors: {
  custom: {
    50: '#baa96d',
    500: '#99872f',
    950: '#000000',
  },
}
SCSS
$custom: #99872f;
$custom-light: #baa96d;
$custom-dark: #000000;
JSON
{
  "hex": "#99872f",
  "rgb": {
    "r": 153,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 49.811,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62288,
    "c": 0.10845,
    "h": 97.5
  },
  "luminance": 0.24305
}

Semantic roles & 50–950 ramp

primary
#99872F
secondary
#6977BA
accent
#64DC4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #99872F

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

Preview Lab → · Contrast checker → · Palette generator →

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