#878E2E#878E2E

#878E2E is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.2% C 0.118 H 113.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#878E2E
RGBrgb(135, 142, 46)
HSLhsl(64, 51%, 37%)
HSVhsv(64, 68%, 56%)
CMYKcmyk(4.9%, 0%, 67.6%, 44.3%)
CIE-LABlab(56.78, -15.51, 48.17)
CIE-LCHlch(56.78, 50.60, 107.85°)
OKLaboklab(62.21% -0.0469 0.1086)
OKLCHoklch(62.21% 0.118 113.4)
XYZxyz(20.1584, 24.6946, 6.2889)
Luminance0.2469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878E2E #352E8E
analogous
#8E652E #878E2E #578E2E
triadic
#878E2E #2E878E #8E2E87
tetradic
#878E2E #2E8E65 #352E8E #8E2E57
square
#878E2E #2E8E65 #352E8E #8E2E57
split-complementary
#878E2E #2E578E #652E8E
monochromatic
#2F3210 #5B601F #878E2E #B3BC3D #C7CE68

Accessibility & contrast

On white

3.54
#878E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#878E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878E2E
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878E2E#FFFFFF#000000##000000
##878E2E1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988720
Deuteranopia (green-blind)
#988935
Tritanopia (blue-blind)
#90867B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #878e2e;
/* rgb */ color: rgb(135, 142, 46);
/* oklch */ color: oklch(62.2% 0.118 113.4);
Tailwind
colors: {
  custom: {
    50: '#adae6c',
    500: '#878e2e',
    950: '#000000',
  },
}
SCSS
$custom: #878e2e;
$custom-light: #adae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#878e2e",
  "rgb": {
    "r": 135,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 64.375,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62205,
    "c": 0.11827,
    "h": 113.4
  },
  "luminance": 0.24694
}

Semantic roles & 50–950 ramp

primary
#878E2E
secondary
#6963B5
accent
#4DDB58
background
#FAFAF6
surface
#F5F4EC
border
#CFCEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #878E2E

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

Preview Lab → · Contrast checker → · Palette generator →

#878E2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva