#397239#397239

#397239 is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.8% C 0.106 H 143.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#397239
RGBrgb(57, 114, 57)
HSLhsl(120, 33%, 34%)
HSVhsv(120, 50%, 45%)
CMYKcmyk(50%, 0%, 50%, 55.3%)
CIE-LABlab(43.06, -31.49, 25.84)
CIE-LCHlch(43.06, 40.73, 140.63°)
OKLaboklab(49.84% -0.0856 0.0627)
OKLCHoklch(49.84% 0.106 143.8)
XYZxyz(8.4427, 13.1993, 5.9729)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397239 #723972
analogous
#557239 #397239 #397255
triadic
#397239 #393972 #723939
tetradic
#397239 #395572 #723972 #725539
square
#397239 #395572 #723972 #725539
split-complementary
#397239 #553972 #723955
monochromatic
#102010 #254925 #397239 #4D9B4D #6FB76F

Accessibility & contrast

On white

5.77
#397239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#397239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397239
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397239#FFFFFF#000000##FFFFFF
##3972391.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746934
Deuteranopia (green-blind)
#6C643D
Tritanopia (blue-blind)
#316F65
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #397239;
/* rgb */ color: rgb(57, 114, 57);
/* oklch */ color: oklch(49.8% 0.106 143.8);
Tailwind
colors: {
  custom: {
    50: '#749b70',
    500: '#397239',
    950: '#000000',
  },
}
SCSS
$custom: #397239;
$custom-light: #749b70;
$custom-dark: #000000;
JSON
{
  "hex": "#397239",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 120,
    "s": 33.333,
    "l": 33.529
  },
  "oklch": {
    "l": 0.49841,
    "c": 0.10617,
    "h": 143.8
  },
  "luminance": 0.132
}

Semantic roles & 50–950 ramp

primary
#397239
secondary
#A067A0
accent
#5EC9C9
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #397239

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

Preview Lab → · Contrast checker → · Palette generator →

#397239 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva