#876F19#876F19

#876F19 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 55.0% C 0.103 H 92.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#876F19
RGBrgb(135, 111, 25)
HSLhsl(47, 69%, 31%)
HSVhsv(47, 81%, 53%)
CMYKcmyk(0%, 17.8%, 81.5%, 47.1%)
CIE-LABlab(47.74, 0.48, 47.62)
CIE-LCHlch(47.74, 47.63, 89.42°)
OKLaboklab(54.97% -0.004 0.1034)
OKLCHoklch(54.97% 0.103 92.2)
XYZxyz(15.8525, 16.5909, 3.2869)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876F19 #193187
analogous
#873819 #876F19 #688719
triadic
#876F19 #19876F #6F1987
tetradic
#876F19 #198738 #193187 #871968
square
#876F19 #198738 #193187 #871968
split-complementary
#876F19 #196887 #381987
monochromatic
#201A06 #53450F #876F19 #BB9923 #DBB93F

Accessibility & contrast

On white

4.86
#876F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#876F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #876F19
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876F19#FFFFFF#000000##FFFFFF
##876F191.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D05
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#93655F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #876f19;
/* rgb */ color: rgb(135, 111, 25);
/* oklch */ color: oklch(55.0% 0.103 92.2);
Tailwind
colors: {
  custom: {
    50: '#ae985e',
    500: '#876f19',
    950: '#000000',
  },
}
SCSS
$custom: #876f19;
$custom-light: #ae985e;
$custom-dark: #000000;
JSON
{
  "hex": "#876f19",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 46.909,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54973,
    "c": 0.10344,
    "h": 92.2
  },
  "luminance": 0.1659
}

Semantic roles & 50–950 ramp

primary
#876F19
secondary
#415CBA
accent
#62EC3C
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #876F19

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

Preview Lab → · Contrast checker → · Palette generator →

#876F19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva