#39871F#39871F

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

Color values

HEX#39871F
RGBrgb(57, 135, 31)
HSLhsl(105, 63%, 33%)
HSVhsv(105, 77%, 53%)
CMYKcmyk(57.8%, 0%, 77%, 47.1%)
CIE-LABlab(49.85, -43.19, 45.60)
CIE-LCHlch(49.85, 62.80, 133.45°)
OKLaboklab(55.34% -0.1189 0.1024)
OKLCHoklch(55.34% 0.157 139.3)
XYZxyz(10.5982, 18.2958, 4.2690)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39871F #6D1F87
analogous
#6D871F #39871F #1F8739
triadic
#39871F #1F3987 #871F39
tetradic
#39871F #1F6D87 #6D1F87 #87391F
square
#39871F #1F6D87 #6D1F87 #87391F
split-complementary
#39871F #391F87 #871F6D
monochromatic
#0F2308 #245514 #39871F #4EB92A #6DD64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##39871F#FFFFFF#000000##000000
##39871F1.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)
#8B7B09
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#318273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #39871f;
/* rgb */ color: rgb(57, 135, 31);
/* oklch */ color: oklch(55.3% 0.157 139.3);
Tailwind
colors: {
  custom: {
    50: '#79ab63',
    500: '#39871f',
    950: '#000000',
  },
}
SCSS
$custom: #39871f;
$custom-light: #79ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#39871f",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 105,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5534,
    "c": 0.15692,
    "h": 139.3
  },
  "luminance": 0.18297
}

Semantic roles & 50–950 ramp

primary
#39871F
secondary
#9D4AB8
accent
#42E6BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #39871F

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

Preview Lab → · Contrast checker → · Palette generator →

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