#39871B#39871B

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

Color values

HEX#39871B
RGBrgb(57, 135, 27)
HSLhsl(103, 67%, 32%)
HSVhsv(103, 80%, 53%)
CMYKcmyk(57.8%, 0%, 80%, 47.1%)
CIE-LABlab(49.83, -43.46, 46.97)
CIE-LCHlch(49.83, 63.99, 132.78°)
OKLaboklab(55.31% -0.1199 0.1047)
OKLCHoklch(55.31% 0.159 138.9)
XYZxyz(10.5487, 18.2760, 4.0084)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39871B #691B87
analogous
#6F871B #39871B #1B8733
triadic
#39871B #1B3987 #871B39
tetradic
#39871B #1B6F87 #691B87 #87331B
square
#39871B #1B6F87 #691B87 #87331B
split-complementary
#39871B #331B87 #871B6F
monochromatic
#0E2107 #235411 #39871B #4FBA25 #6DD943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##39871B#FFFFFF#000000##000000
##39871B1.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)
#8B7A00
Deuteranopia (green-blind)
#817427
Tritanopia (blue-blind)
#318273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #39871b;
/* rgb */ color: rgb(57, 135, 27);
/* oklch */ color: oklch(55.3% 0.159 138.9);
Tailwind
colors: {
  custom: {
    50: '#79ab61',
    500: '#39871b',
    950: '#000000',
  },
}
SCSS
$custom: #39871b;
$custom-light: #79ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#39871b",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 103.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55313,
    "c": 0.15913,
    "h": 138.9
  },
  "luminance": 0.18277
}

Semantic roles & 50–950 ramp

primary
#39871B
secondary
#9944BA
accent
#3EEABA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #39871B

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

Preview Lab → · Contrast checker → · Palette generator →

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