#878323#878323

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

Color values

HEX#878323
RGBrgb(135, 131, 35)
HSLhsl(58, 59%, 33%)
HSVhsv(58, 74%, 53%)
CMYKcmyk(0%, 3%, 74.1%, 47.1%)
CIE-LABlab(53.50, -10.26, 49.32)
CIE-LCHlch(53.50, 50.37, 101.75°)
OKLaboklab(59.56% -0.0333 0.109)
OKLCHoklch(59.56% 0.114 107)
XYZxyz(18.4121, 21.5055, 4.7709)
Luminance0.2150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878323 #232787
analogous
#875123 #878323 #598723
triadic
#878323 #238783 #832387
tetradic
#878323 #238751 #232787 #872359
square
#878323 #238751 #232787 #872359
split-complementary
#878323 #235987 #512387
monochromatic
#26250A #565416 #878323 #B8B230 #D2CD52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##878323#FFFFFF#000000##000000
##8783231.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)
#8E7E11
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#917A70
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #878323;
/* rgb */ color: rgb(135, 131, 35);
/* oklch */ color: oklch(59.6% 0.114 107.0);
Tailwind
colors: {
  custom: {
    50: '#ada665',
    500: '#878323',
    950: '#000000',
  },
}
SCSS
$custom: #878323;
$custom-light: #ada665;
$custom-dark: #000000;
JSON
{
  "hex": "#878323",
  "rgb": {
    "r": 135,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 57.6,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5956,
    "c": 0.11402,
    "h": 107
  },
  "luminance": 0.21505
}

Semantic roles & 50–950 ramp

primary
#878323
secondary
#5054B6
accent
#4CE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #878323

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

Preview Lab → · Contrast checker → · Palette generator →

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