#87945D#87945D

#87945D is a light, moderate yellow-green. Relative luminance 0.271; OKLCH L 64.2% C 0.078 H 119.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#87945D
RGBrgb(135, 148, 93)
HSLhsl(74, 23%, 47%)
HSVhsv(74, 37%, 58%)
CMYKcmyk(8.8%, 0%, 37.2%, 42%)
CIE-LABlab(59.09, -14.08, 27.56)
CIE-LCHlch(59.09, 30.95, 117.06°)
OKLaboklab(64.23% -0.0384 0.0679)
OKLCHoklch(64.23% 0.078 119.5)
XYZxyz(22.5573, 27.1211, 14.4003)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87945D #6A5D94
analogous
#94865D #87945D #6B945D
triadic
#87945D #5D8794 #945D87
tetradic
#87945D #5D9486 #6A5D94 #945D6B
square
#87945D #5D9486 #6A5D94 #945D6B
split-complementary
#87945D #5D6B94 #865D94
monochromatic
#42492E #656E45 #87945D #A4AF7F #BFC6A5

Accessibility & contrast

On white

3.27
#87945D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#87945D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87945D
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87945D#FFFFFF#000000##000000
##87945D1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8E59
Deuteranopia (green-blind)
#998E60
Tritanopia (blue-blind)
#8C8F86
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #87945d;
/* rgb */ color: rgb(135, 148, 93);
/* oklch */ color: oklch(64.2% 0.078 119.5);
Tailwind
colors: {
  custom: {
    50: '#abb38b',
    500: '#87945d',
    950: '#000000',
  },
}
SCSS
$custom: #87945d;
$custom-light: #abb38b;
$custom-dark: #000000;
JSON
{
  "hex": "#87945d",
  "rgb": {
    "r": 135,
    "g": 148,
    "b": 93
  },
  "hsl": {
    "h": 74.182,
    "s": 22.822,
    "l": 47.255
  },
  "oklch": {
    "l": 0.64234,
    "c": 0.07804,
    "h": 119.5
  },
  "luminance": 0.27121
}

Semantic roles & 50–950 ramp

primary
#87945D
secondary
#9F98B5
accent
#68BF7D
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#10110C
muted
#7F807D

Preview Lab

Preview with #87945D

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

Preview Lab → · Contrast checker → · Palette generator →

#87945D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva