#878730#878730

#878730 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.6% C 0.109 H 109.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#878730
RGBrgb(135, 135, 48)
HSLhsl(60, 48%, 36%)
HSVhsv(60, 64%, 53%)
CMYKcmyk(0%, 0%, 64.4%, 47.1%)
CIE-LABlab(54.75, -11.65, 45.19)
CIE-LCHlch(54.75, 46.67, 104.46°)
OKLaboklab(60.59% -0.0358 0.1026)
OKLCHoklch(60.59% 0.109 109.2)
XYZxyz(19.1897, 22.6928, 6.1650)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878730 #303087
analogous
#875B30 #878730 #5B8730
triadic
#878730 #308787 #873087
tetradic
#878730 #30875B #303087 #87305B
square
#878730 #30875B #303087 #87305B
split-complementary
#878730 #305B87 #5B3087
monochromatic
#2D2D10 #5A5A20 #878730 #B4B440 #C9C968

Accessibility & contrast

On white

3.79
#878730 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#878730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878730
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878730#FFFFFF#000000##000000
##8787301.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928125
Deuteranopia (green-blind)
#938435
Tritanopia (blue-blind)
#907F75
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #878730;
/* rgb */ color: rgb(135, 135, 48);
/* oklch */ color: oklch(60.6% 0.109 109.2);
Tailwind
colors: {
  custom: {
    50: '#aca96d',
    500: '#878730',
    950: '#000000',
  },
}
SCSS
$custom: #878730;
$custom-light: #aca96d;
$custom-dark: #000000;
JSON
{
  "hex": "#878730",
  "rgb": {
    "r": 135,
    "g": 135,
    "b": 48
  },
  "hsl": {
    "h": 60,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60593,
    "c": 0.10869,
    "h": 109.2
  },
  "luminance": 0.22692
}

Semantic roles & 50–950 ramp

primary
#878730
secondary
#6262B1
accent
#51D751
background
#FAFAF6
surface
#F5F4EC
border
#CFCEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #878730

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

Preview Lab → · Contrast checker → · Palette generator →

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