#397029#397029

#397029 is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.1% C 0.119 H 139.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#397029
RGBrgb(57, 112, 41)
HSLhsl(106, 46%, 30%)
HSVhsv(106, 63%, 44%)
CMYKcmyk(49.1%, 0%, 63.4%, 56.1%)
CIE-LABlab(42.18, -32.75, 33.18)
CIE-LCHlch(42.18, 46.62, 134.62°)
OKLaboklab(49.05% -0.0899 0.0776)
OKLCHoklch(49.05% 0.119 139.2)
XYZxyz(7.8815, 12.6178, 4.1176)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397029 #602970
analogous
#5C7029 #397029 #29703D
triadic
#397029 #293970 #702939
tetradic
#397029 #295C70 #602970 #703D29
square
#397029 #295C70 #602970 #703D29
split-complementary
#397029 #3D2970 #70295C
monochromatic
#0B1608 #224319 #397029 #509D39 #6CC053

Accessibility & contrast

On white

5.96
#397029 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#397029 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397029
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397029#FFFFFF#000000##FFFFFF
##3970291.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736721
Deuteranopia (green-blind)
#6C622F
Tritanopia (blue-blind)
#356C61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #397029;
/* rgb */ color: rgb(57, 112, 41);
/* oklch */ color: oklch(49.1% 0.119 139.2);
Tailwind
colors: {
  custom: {
    50: '#749966',
    500: '#397029',
    950: '#000000',
  },
}
SCSS
$custom: #397029;
$custom-light: #749966;
$custom-dark: #000000;
JSON
{
  "hex": "#397029",
  "rgb": {
    "r": 57,
    "g": 112,
    "b": 41
  },
  "hsl": {
    "h": 106.479,
    "s": 46.405,
    "l": 30
  },
  "oklch": {
    "l": 0.49054,
    "c": 0.11878,
    "h": 139.2
  },
  "luminance": 0.12618
}

Semantic roles & 50–950 ramp

primary
#397029
secondary
#9053A2
accent
#52D6B8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #397029

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

Preview Lab → · Contrast checker → · Palette generator →

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