#399B1F#399B1F

#399B1F is a mid, vivid green. Relative luminance 0.244; OKLCH L 60.8% C 0.181 H 140.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#399B1F
RGBrgb(57, 155, 31)
HSLhsl(107, 67%, 36%)
HSVhsv(107, 80%, 61%)
CMYKcmyk(63.2%, 0%, 80%, 39.2%)
CIE-LABlab(56.50, -50.61, 52.02)
CIE-LCHlch(56.50, 72.58, 134.21°)
OKLaboklab(60.83% -0.1389 0.1158)
OKLCHoklch(60.83% 0.181 140.2)
XYZxyz(13.6554, 24.4102, 5.2881)
Luminance0.2441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#399B1F #811F9B
analogous
#779B1F #399B1F #1F9B43
triadic
#399B1F #1F399B #9B1F39
tetradic
#399B1F #1F779B #811F9B #9B431F
square
#399B1F #1F779B #811F9B #9B431F
split-complementary
#399B1F #431F9B #9B1F77
monochromatic
#13350B #266815 #399B1F #4CCE29 #73DD57

Accessibility & contrast

On white

3.57
#399B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#399B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #399B1F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##399B1F#FFFFFF#000000##000000
##399B1F1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#94842E
Tritanopia (blue-blind)
#2B9684
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #399b1f;
/* rgb */ color: rgb(57, 155, 31);
/* oklch */ color: oklch(60.8% 0.181 140.2);
Tailwind
colors: {
  custom: {
    50: '#7cb965',
    500: '#399b1f',
    950: '#000000',
  },
}
SCSS
$custom: #399b1f;
$custom-light: #7cb965;
$custom-dark: #000000;
JSON
{
  "hex": "#399b1f",
  "rgb": {
    "r": 57,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 107.419,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60831,
    "c": 0.18084,
    "h": 140.2
  },
  "luminance": 0.24411
}

Semantic roles & 50–950 ramp

primary
#399B1F
secondary
#AA55C1
accent
#3EEAC6
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #399B1F

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

Preview Lab → · Contrast checker → · Palette generator →

#399B1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva