#878320#878320

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

Color values

HEX#878320
RGBrgb(135, 131, 32)
HSLhsl(58, 62%, 33%)
HSVhsv(58, 76%, 53%)
CMYKcmyk(0%, 3%, 76.3%, 47.1%)
CIE-LABlab(53.48, -10.40, 50.41)
CIE-LCHlch(53.48, 51.47, 101.66°)
OKLaboklab(59.54% -0.034 0.1108)
OKLCHoklch(59.54% 0.116 107.1)
XYZxyz(18.3694, 21.4884, 4.5463)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878320 #202487
analogous
#874F20 #878320 #578720
triadic
#878320 #208783 #832087
tetradic
#878320 #20874F #202487 #872057
square
#878320 #20874F #202487 #872057
split-complementary
#878320 #205787 #4F2087
monochromatic
#242309 #565314 #878320 #B8B32C #D5CF4D

Accessibility & contrast

On white

3.96
#878320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#878320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878320
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878320#FFFFFF#000000##000000
##8783201.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #878320;
/* rgb */ color: rgb(135, 131, 32);
/* oklch */ color: oklch(59.5% 0.116 107.1);
Tailwind
colors: {
  custom: {
    50: '#ada664',
    500: '#878320',
    950: '#000000',
  },
}
SCSS
$custom: #878320;
$custom-light: #ada664;
$custom-dark: #000000;
JSON
{
  "hex": "#878320",
  "rgb": {
    "r": 135,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 57.67,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5954,
    "c": 0.11588,
    "h": 107.1
  },
  "luminance": 0.21488
}

Semantic roles & 50–950 ramp

primary
#878320
secondary
#4B4FB8
accent
#49E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #878320

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

Preview Lab → · Contrast checker → · Palette generator →

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