#99873A#99873A

#99873A is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.4% C 0.099 H 96.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#99873A
RGBrgb(153, 135, 58)
HSLhsl(49, 45%, 41%)
HSVhsv(49, 62%, 60%)
CMYKcmyk(0%, 11.8%, 62.1%, 40%)
CIE-LABlab(56.49, -2.87, 42.91)
CIE-LCHlch(56.49, 43.01, 93.82°)
OKLaboklab(62.4% -0.0107 0.0988)
OKLCHoklch(62.4% 0.099 96.2)
XYZxyz(22.5655, 24.4068, 7.5245)
Luminance0.2441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99873A #3A4C99
analogous
#99583A #99873A #7C993A
triadic
#99873A #3A9987 #873A99
tetradic
#99873A #3A9958 #3A4C99 #993A7C
square
#99873A #3A9958 #3A4C99 #993A7C
split-complementary
#99873A #3A7C99 #583A99
monochromatic
#403918 #6D6029 #99873A #BEA953 #CEBF7F

Accessibility & contrast

On white

3.57
#99873A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#99873A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #99873A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99873A#FFFFFF#000000##000000
##99873A1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948432
Deuteranopia (green-blind)
#988A3E
Tritanopia (blue-blind)
#A57D76
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #99873a;
/* rgb */ color: rgb(153, 135, 58);
/* oklch */ color: oklch(62.4% 0.099 96.2);
Tailwind
colors: {
  custom: {
    50: '#baa973',
    500: '#99873a',
    950: '#000000',
  },
}
SCSS
$custom: #99873a;
$custom-light: #baa973;
$custom-dark: #000000;
JSON
{
  "hex": "#99873a",
  "rgb": {
    "r": 153,
    "g": 135,
    "b": 58
  },
  "hsl": {
    "h": 48.632,
    "s": 45.024,
    "l": 41.373
  },
  "oklch": {
    "l": 0.62399,
    "c": 0.09937,
    "h": 96.2
  },
  "luminance": 0.24406
}

Semantic roles & 50–950 ramp

primary
#99873A
secondary
#7783B8
accent
#6CD553
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #99873A

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

Preview Lab → · Contrast checker → · Palette generator →

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