#39831F#39831F

#39831F is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.152 H 139.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#39831F
RGBrgb(57, 131, 31)
HSLhsl(104, 62%, 32%)
HSVhsv(104, 76%, 51%)
CMYKcmyk(56.5%, 0%, 76.3%, 48.6%)
CIE-LABlab(48.51, -41.63, 44.27)
CIE-LCHlch(48.51, 60.76, 133.24°)
OKLaboklab(54.23% -0.1147 0.0996)
OKLCHoklch(54.23% 0.152 139)
XYZxyz(10.0506, 17.2006, 4.0865)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39831F #691F83
analogous
#6B831F #39831F #1F8337
triadic
#39831F #1F3983 #831F39
tetradic
#39831F #1F6B83 #691F83 #83371F
square
#39831F #1F6B83 #691F83 #83371F
split-complementary
#39831F #371F83 #831F6B
monochromatic
#0E2008 #235213 #39831F #4FB42B #6DD449

Accessibility & contrast

On white

4.73
#39831F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#39831F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #39831F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39831F#FFFFFF#000000##FFFFFF
##39831F1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#327E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #39831f;
/* rgb */ color: rgb(57, 131, 31);
/* oklch */ color: oklch(54.2% 0.152 139.0);
Tailwind
colors: {
  custom: {
    50: '#78a862',
    500: '#39831f',
    950: '#000000',
  },
}
SCSS
$custom: #39831f;
$custom-light: #78a862;
$custom-dark: #000000;
JSON
{
  "hex": "#39831f",
  "rgb": {
    "r": 57,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 104.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54233,
    "c": 0.15191,
    "h": 139
  },
  "luminance": 0.17201
}

Semantic roles & 50–950 ramp

primary
#39831F
secondary
#9948B6
accent
#43E5BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #39831F

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

Preview Lab → · Contrast checker → · Palette generator →

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