#99872D#99872D

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

Color values

HEX#99872D
RGBrgb(153, 135, 45)
HSLhsl(50, 55%, 39%)
HSVhsv(50, 71%, 60%)
CMYKcmyk(0%, 11.8%, 70.6%, 40%)
CIE-LABlab(56.38, -3.70, 48.69)
CIE-LCHlch(56.38, 48.83, 94.35°)
OKLaboklab(62.27% -0.0147 0.1089)
OKLCHoklch(62.27% 0.11 97.7)
XYZxyz(22.2755, 24.2908, 5.9974)
Luminance0.2429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99872D #2D3F99
analogous
#99512D #99872D #75992D
triadic
#99872D #2D9987 #872D99
tetradic
#99872D #2D9951 #2D3F99 #992D75
square
#99872D #2D9951 #2D3F99 #992D75
split-complementary
#99872D #2D7599 #512D99
monochromatic
#3A3411 #6A5D1F #99872D #C6AF3D #D4C36C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##99872D#FFFFFF#000000##000000
##99872D1.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)
#948420
Deuteranopia (green-blind)
#998A32
Tritanopia (blue-blind)
#A57D75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #99872d;
/* rgb */ color: rgb(153, 135, 45);
/* oklch */ color: oklch(62.3% 0.110 97.7);
Tailwind
colors: {
  custom: {
    50: '#baa96b',
    500: '#99872d',
    950: '#000000',
  },
}
SCSS
$custom: #99872d;
$custom-light: #baa96b;
$custom-dark: #000000;
JSON
{
  "hex": "#99872d",
  "rgb": {
    "r": 153,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 50,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62271,
    "c": 0.10993,
    "h": 97.7
  },
  "luminance": 0.2429
}

Semantic roles & 50–950 ramp

primary
#99872D
secondary
#6775BB
accent
#63DE4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #99872D

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

Preview Lab → · Contrast checker → · Palette generator →

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