#99872E#99872E

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

Color values

HEX#99872E
RGBrgb(153, 135, 46)
HSLhsl(50, 54%, 39%)
HSVhsv(50, 70%, 60%)
CMYKcmyk(0%, 11.8%, 69.9%, 40%)
CIE-LABlab(56.39, -3.65, 48.27)
CIE-LCHlch(56.39, 48.41, 94.32°)
OKLaboklab(62.28% -0.0145 0.1082)
OKLCHoklch(62.28% 0.109 97.6)
XYZxyz(22.2950, 24.2986, 6.1000)
Luminance0.2430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99872E #2E4099
analogous
#99522E #99872E #76992E
triadic
#99872E #2E9987 #872E99
tetradic
#99872E #2E9952 #2E4099 #992E76
square
#99872E #2E9952 #2E4099 #992E76
split-complementary
#99872E #2E7699 #522E99
monochromatic
#3B3412 #6A5D20 #99872E #C5AF3F #D3C26E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##99872E#FFFFFF#000000##000000
##99872E1.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)
#948422
Deuteranopia (green-blind)
#998A33
Tritanopia (blue-blind)
#A57D75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #99872e;
/* rgb */ color: rgb(153, 135, 46);
/* oklch */ color: oklch(62.3% 0.109 97.6);
Tailwind
colors: {
  custom: {
    50: '#baa96c',
    500: '#99872e',
    950: '#000000',
  },
}
SCSS
$custom: #99872e;
$custom-light: #baa96c;
$custom-dark: #000000;
JSON
{
  "hex": "#99872e",
  "rgb": {
    "r": 153,
    "g": 135,
    "b": 46
  },
  "hsl": {
    "h": 49.907,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6228,
    "c": 0.1092,
    "h": 97.6
  },
  "luminance": 0.24298
}

Semantic roles & 50–950 ramp

primary
#99872E
secondary
#6876BB
accent
#63DD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #99872E

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

Preview Lab → · Contrast checker → · Palette generator →

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