#39871D#39871D

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

Color values

HEX#39871D
RGBrgb(57, 135, 29)
HSLhsl(104, 65%, 32%)
HSVhsv(104, 79%, 53%)
CMYKcmyk(57.8%, 0%, 78.5%, 47.1%)
CIE-LABlab(49.84, -43.33, 46.30)
CIE-LCHlch(49.84, 63.41, 133.11°)
OKLaboklab(55.33% -0.1194 0.1036)
OKLCHoklch(55.33% 0.158 139.1)
XYZxyz(10.5727, 18.2856, 4.1345)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39871D #6B1D87
analogous
#6E871D #39871D #1D8736
triadic
#39871D #1D3987 #871D39
tetradic
#39871D #1D6E87 #6B1D87 #87361D
square
#39871D #1D6E87 #6B1D87 #87361D
split-complementary
#39871D #361D87 #871D6E
monochromatic
#0E2207 #245512 #39871D #4EB928 #6DD747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##39871D#FFFFFF#000000##000000
##39871D1.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)
#8B7B04
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#318273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #39871d;
/* rgb */ color: rgb(57, 135, 29);
/* oklch */ color: oklch(55.3% 0.158 139.1);
Tailwind
colors: {
  custom: {
    50: '#79ab62',
    500: '#39871d',
    950: '#000000',
  },
}
SCSS
$custom: #39871d;
$custom-light: #79ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#39871d",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 104.151,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55326,
    "c": 0.15805,
    "h": 139.1
  },
  "luminance": 0.18287
}

Semantic roles & 50–950 ramp

primary
#39871D
secondary
#9B46B9
accent
#40E8BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #39871D

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

Preview Lab → · Contrast checker → · Palette generator →

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