#878920#878920

#878920 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.9% C 0.122 H 110.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#878920
RGBrgb(135, 137, 32)
HSLhsl(61, 62%, 33%)
HSVhsv(61, 77%, 54%)
CMYKcmyk(1.5%, 0%, 76.6%, 46.3%)
CIE-LABlab(55.22, -13.63, 52.04)
CIE-LCHlch(55.22, 53.79, 104.68°)
OKLaboklab(60.93% -0.043 0.1142)
OKLCHoklch(60.93% 0.122 110.6)
XYZxyz(19.1987, 23.1470, 4.8227)
Luminance0.2315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878920 #222089
analogous
#895620 #878920 #528920
triadic
#878920 #208789 #892087
tetradic
#878920 #208956 #222089 #892052
square
#878920 #208956 #222089 #892052
split-complementary
#878920 #205289 #562089
monochromatic
#252609 #565714 #878920 #B8BB2C #D3D64E

Accessibility & contrast

On white

3.73
#878920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#878920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878920
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878920#FFFFFF#000000##000000
##8789201.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948307
Deuteranopia (green-blind)
#958629
Tritanopia (blue-blind)
#918075
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #878920;
/* rgb */ color: rgb(135, 137, 32);
/* oklch */ color: oklch(60.9% 0.122 110.6);
Tailwind
colors: {
  custom: {
    50: '#adab64',
    500: '#878920',
    950: '#000000',
  },
}
SCSS
$custom: #878920;
$custom-light: #adab64;
$custom-dark: #000000;
JSON
{
  "hex": "#878920",
  "rgb": {
    "r": 135,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 61.143,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60932,
    "c": 0.12207,
    "h": 110.6
  },
  "luminance": 0.23147
}

Semantic roles & 50–950 ramp

primary
#878920
secondary
#4E4CB9
accent
#43E546
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #878920

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

Preview Lab → · Contrast checker → · Palette generator →

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