#399A1F#399A1F

#399A1F is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.6% C 0.180 H 140.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#399A1F
RGBrgb(57, 154, 31)
HSLhsl(107, 66%, 36%)
HSVhsv(107, 80%, 60%)
CMYKcmyk(63%, 0%, 79.9%, 39.6%)
CIE-LABlab(56.17, -50.25, 51.71)
CIE-LCHlch(56.17, 72.11, 134.18°)
OKLaboklab(60.56% -0.1379 0.1152)
OKLCHoklch(60.56% 0.18 140.1)
XYZxyz(13.4896, 24.0787, 5.2328)
Luminance0.2408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#399A1F #801F9A
analogous
#779A1F #399A1F #1F9A43
triadic
#399A1F #1F399A #9A1F39
tetradic
#399A1F #1F779A #801F9A #9A431F
square
#399A1F #1F779A #801F9A #9A431F
split-complementary
#399A1F #431F9A #9A1F77
monochromatic
#13340A #266715 #399A1F #4CCD29 #73DD56

Accessibility & contrast

On white

3.61
#399A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#399A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #399A1F
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##399A1F#FFFFFF#000000##000000
##399A1F1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#93842D
Tritanopia (blue-blind)
#2B9583
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #399a1f;
/* rgb */ color: rgb(57, 154, 31);
/* oklch */ color: oklch(60.6% 0.180 140.1);
Tailwind
colors: {
  custom: {
    50: '#7cb965',
    500: '#399a1f',
    950: '#000000',
  },
}
SCSS
$custom: #399a1f;
$custom-light: #7cb965;
$custom-dark: #000000;
JSON
{
  "hex": "#399a1f",
  "rgb": {
    "r": 57,
    "g": 154,
    "b": 31
  },
  "hsl": {
    "h": 107.317,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60558,
    "c": 0.17968,
    "h": 140.1
  },
  "luminance": 0.2408
}

Semantic roles & 50–950 ramp

primary
#399A1F
secondary
#AA54C1
accent
#3EE9C5
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #399A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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