#878319#878319

#878319 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.5% C 0.120 H 107.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#878319
RGBrgb(135, 131, 25)
HSLhsl(58, 69%, 31%)
HSVhsv(58, 81%, 53%)
CMYKcmyk(0%, 3%, 81.5%, 47.1%)
CIE-LABlab(53.44, -10.69, 52.71)
CIE-LCHlch(53.44, 53.78, 101.46°)
OKLaboklab(59.5% -0.0355 0.1143)
OKLCHoklch(59.5% 0.12 107.2)
XYZxyz(18.2842, 21.4543, 4.0975)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878319 #191D87
analogous
#874C19 #878319 #548719
triadic
#878319 #198783 #831987
tetradic
#878319 #19874C #191D87 #871954
square
#878319 #19874C #191D87 #871954
split-complementary
#878319 #195487 #4C1987
monochromatic
#201F06 #53510F #878319 #BBB523 #DBD63F

Accessibility & contrast

On white

3.97
#878319 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#878319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878319
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878319#FFFFFF#000000##000000
##8783191.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#918122
Tritanopia (blue-blind)
#917A70
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #878319;
/* rgb */ color: rgb(135, 131, 25);
/* oklch */ color: oklch(59.5% 0.120 107.2);
Tailwind
colors: {
  custom: {
    50: '#aea661',
    500: '#878319',
    950: '#000000',
  },
}
SCSS
$custom: #878319;
$custom-light: #aea661;
$custom-dark: #000000;
JSON
{
  "hex": "#878319",
  "rgb": {
    "r": 135,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 57.818,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59499,
    "c": 0.11967,
    "h": 107.2
  },
  "luminance": 0.21454
}

Semantic roles & 50–950 ramp

primary
#878319
secondary
#4146BA
accent
#43EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #878319

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

Preview Lab → · Contrast checker → · Palette generator →

#878319 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva