#55871F#55871F

#55871F is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.7% C 0.142 H 132.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#55871F
RGBrgb(85, 135, 31)
HSLhsl(89, 63%, 33%)
HSVhsv(89, 77%, 53%)
CMYKcmyk(37%, 0%, 77%, 47.1%)
CIE-LABlab(51.10, -33.90, 47.24)
CIE-LCHlch(51.10, 58.15, 125.67°)
OKLaboklab(56.71% -0.0957 0.1054)
OKLCHoklch(56.71% 0.142 132.2)
XYZxyz(12.6575, 19.3576, 4.3655)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55871F #511F87
analogous
#87851F #55871F #21871F
triadic
#55871F #1F5587 #871F55
tetradic
#55871F #1F8785 #511F87 #871F21
square
#55871F #1F8785 #511F87 #871F21
split-complementary
#55871F #1F2187 #851F87
monochromatic
#162308 #365514 #55871F #74B92A #93D64B

Accessibility & contrast

On white

4.31
#55871F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#55871F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #55871F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55871F#FFFFFF#000000##000000
##55871F1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C08
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#568173
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #55871f;
/* rgb */ color: rgb(85, 135, 31);
/* oklch */ color: oklch(56.7% 0.142 132.2);
Tailwind
colors: {
  custom: {
    50: '#89aa63',
    500: '#55871f',
    950: '#000000',
  },
}
SCSS
$custom: #55871f;
$custom-light: #89aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#55871f",
  "rgb": {
    "r": 85,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 88.846,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56708,
    "c": 0.14238,
    "h": 132.2
  },
  "luminance": 0.19358
}

Semantic roles & 50–950 ramp

primary
#55871F
secondary
#7F4AB8
accent
#42E691
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #55871F

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

Preview Lab → · Contrast checker → · Palette generator →

#55871F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva