#878219#878219

#878219 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.3% C 0.119 H 106.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#878219
RGBrgb(135, 130, 25)
HSLhsl(57, 69%, 31%)
HSVhsv(57, 81%, 53%)
CMYKcmyk(0%, 3.7%, 81.5%, 47.1%)
CIE-LABlab(53.15, -10.15, 52.45)
CIE-LCHlch(53.15, 53.42, 100.95°)
OKLaboklab(59.27% -0.0339 0.1138)
OKLCHoklch(59.27% 0.119 106.6)
XYZxyz(18.1505, 21.1870, 4.0529)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878219 #191E87
analogous
#874B19 #878219 #558719
triadic
#878219 #198782 #821987
tetradic
#878219 #19874B #191E87 #871955
square
#878219 #19874B #191E87 #871955
split-complementary
#878219 #195587 #4B1987
monochromatic
#201F06 #53500F #878219 #BBB423 #DBD43F

Accessibility & contrast

On white

4.01
#878219 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#878219 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878219
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878219#FFFFFF#000000##000000
##8782191.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#908122
Tritanopia (blue-blind)
#92796F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #878219;
/* rgb */ color: rgb(135, 130, 25);
/* oklch */ color: oklch(59.3% 0.119 106.6);
Tailwind
colors: {
  custom: {
    50: '#aea660',
    500: '#878219',
    950: '#000000',
  },
}
SCSS
$custom: #878219;
$custom-light: #aea660;
$custom-dark: #000000;
JSON
{
  "hex": "#878219",
  "rgb": {
    "r": 135,
    "g": 130,
    "b": 25
  },
  "hsl": {
    "h": 57.273,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59268,
    "c": 0.11871,
    "h": 106.6
  },
  "luminance": 0.21186
}

Semantic roles & 50–950 ramp

primary
#878219
secondary
#4147BA
accent
#44EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #878219

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

Preview Lab → · Contrast checker → · Palette generator →

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