#878119#878119

#878119 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.0% C 0.118 H 106.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#878119
RGBrgb(135, 129, 25)
HSLhsl(57, 69%, 31%)
HSVhsv(57, 81%, 53%)
CMYKcmyk(0%, 4.4%, 81.5%, 47.1%)
CIE-LABlab(52.86, -9.60, 52.20)
CIE-LCHlch(52.86, 53.07, 100.42°)
OKLaboklab(59.04% -0.0324 0.1132)
OKLCHoklch(59.04% 0.118 106)
XYZxyz(18.0182, 20.9223, 4.0088)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878119 #191F87
analogous
#874A19 #878119 #568719
triadic
#878119 #198781 #811987
tetradic
#878119 #19874A #191F87 #871956
square
#878119 #19874A #191F87 #871956
split-complementary
#878119 #195687 #4A1987
monochromatic
#201E06 #53500F #878119 #BBB223 #DBD33F

Accessibility & contrast

On white

4.05
#878119 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#878119 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878119
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878119#FFFFFF#000000##000000
##8781191.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8F8022
Tritanopia (blue-blind)
#92786E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #878119;
/* rgb */ color: rgb(135, 129, 25);
/* oklch */ color: oklch(59.0% 0.118 106.0);
Tailwind
colors: {
  custom: {
    50: '#aea560',
    500: '#878119',
    950: '#000000',
  },
}
SCSS
$custom: #878119;
$custom-light: #aea560;
$custom-dark: #000000;
JSON
{
  "hex": "#878119",
  "rgb": {
    "r": 135,
    "g": 129,
    "b": 25
  },
  "hsl": {
    "h": 56.727,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59037,
    "c": 0.11775,
    "h": 106
  },
  "luminance": 0.20922
}

Semantic roles & 50–950 ramp

primary
#878119
secondary
#4148BA
accent
#46EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #878119

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

Preview Lab → · Contrast checker → · Palette generator →

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