#397829#397829

#397829 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.3% C 0.130 H 139.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#397829
RGBrgb(57, 120, 41)
HSLhsl(108, 49%, 32%)
HSVhsv(108, 66%, 47%)
CMYKcmyk(52.5%, 0%, 65.8%, 52.9%)
CIE-LABlab(44.89, -36.22, 36.22)
CIE-LCHlch(44.89, 51.22, 135.00°)
OKLaboklab(51.28% -0.0994 0.0841)
OKLCHoklch(51.28% 0.13 139.8)
XYZxyz(8.8037, 14.4622, 4.4250)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397829 #682978
analogous
#617829 #397829 #297841
triadic
#397829 #293978 #782939
tetradic
#397829 #296178 #682978 #784129
square
#397829 #296178 #682978 #784129
split-complementary
#397829 #412978 #782961
monochromatic
#0E1D0A #234A19 #397829 #4FA639 #6DC556

Accessibility & contrast

On white

5.39
#397829 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#397829 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397829
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397829#FFFFFF#000000##FFFFFF
##3978291.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E20
Deuteranopia (green-blind)
#736830
Tritanopia (blue-blind)
#337467
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #397829;
/* rgb */ color: rgb(57, 120, 41);
/* oklch */ color: oklch(51.3% 0.130 139.8);
Tailwind
colors: {
  custom: {
    50: '#769f66',
    500: '#397829',
    950: '#000000',
  },
}
SCSS
$custom: #397829;
$custom-light: #769f66;
$custom-dark: #000000;
JSON
{
  "hex": "#397829",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 41
  },
  "hsl": {
    "h": 107.848,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51276,
    "c": 0.13017,
    "h": 139.8
  },
  "luminance": 0.14463
}

Semantic roles & 50–950 ramp

primary
#397829
secondary
#9853AA
accent
#4FD9BD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #397829

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

Preview Lab → · Contrast checker → · Palette generator →

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