#878324#878324

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

Color values

HEX#878324
RGBrgb(135, 131, 36)
HSLhsl(58, 58%, 34%)
HSVhsv(58, 73%, 53%)
CMYKcmyk(0%, 3%, 73.3%, 47.1%)
CIE-LABlab(53.50, -10.20, 48.94)
CIE-LCHlch(53.50, 49.99, 101.78°)
OKLaboklab(59.57% -0.0331 0.1084)
OKLCHoklch(59.57% 0.113 107)
XYZxyz(18.4271, 21.5115, 4.8502)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878324 #242887
analogous
#875124 #878324 #598724
triadic
#878324 #248783 #832487
tetradic
#878324 #248751 #242887 #872459
square
#878324 #248751 #242887 #872459
split-complementary
#878324 #245987 #512487
monochromatic
#26250A #575417 #878324 #B7B231 #D1CC54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##878324#FFFFFF#000000##000000
##8783241.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)
#8E7E13
Deuteranopia (green-blind)
#90812B
Tritanopia (blue-blind)
#917A70
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #878324;
/* rgb */ color: rgb(135, 131, 36);
/* oklch */ color: oklch(59.6% 0.113 107.0);
Tailwind
colors: {
  custom: {
    50: '#ada666',
    500: '#878324',
    950: '#000000',
  },
}
SCSS
$custom: #878324;
$custom-light: #ada666;
$custom-dark: #000000;
JSON
{
  "hex": "#878324",
  "rgb": {
    "r": 135,
    "g": 131,
    "b": 36
  },
  "hsl": {
    "h": 57.576,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59568,
    "c": 0.11336,
    "h": 107
  },
  "luminance": 0.21511
}

Semantic roles & 50–950 ramp

primary
#878324
secondary
#5155B5
accent
#4DE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #878324

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

Preview Lab → · Contrast checker → · Palette generator →

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