#39871C#39871C

#39871C is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.159 H 139.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#39871C
RGBrgb(57, 135, 28)
HSLhsl(104, 66%, 32%)
HSVhsv(104, 79%, 53%)
CMYKcmyk(57.8%, 0%, 79.3%, 47.1%)
CIE-LABlab(49.83, -43.40, 46.63)
CIE-LCHlch(49.83, 63.70, 132.94°)
OKLaboklab(55.32% -0.1196 0.1041)
OKLCHoklch(55.32% 0.159 139)
XYZxyz(10.5605, 18.2808, 4.0704)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39871C #6A1C87
analogous
#6F871C #39871C #1C8734
triadic
#39871C #1C3987 #871C39
tetradic
#39871C #1C6F87 #6A1C87 #87341C
square
#39871C #1C6F87 #6A1C87 #87341C
split-complementary
#39871C #341C87 #871C6F
monochromatic
#0E2207 #245411 #39871C #4EBA27 #6DD845

Accessibility & contrast

On white

4.51
#39871C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#39871C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #39871C
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39871C#FFFFFF#000000##000000
##39871C1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A01
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#318273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #39871c;
/* rgb */ color: rgb(57, 135, 28);
/* oklch */ color: oklch(55.3% 0.159 139.0);
Tailwind
colors: {
  custom: {
    50: '#79ab61',
    500: '#39871c',
    950: '#000000',
  },
}
SCSS
$custom: #39871c;
$custom-light: #79ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#39871c",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 103.738,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55319,
    "c": 0.1586,
    "h": 139
  },
  "luminance": 0.18282
}

Semantic roles & 50–950 ramp

primary
#39871C
secondary
#9A45BA
accent
#3FE9BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #39871C

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

Preview Lab → · Contrast checker → · Palette generator →

#39871C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva