#397830#397830

#397830 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.4% C 0.124 H 141.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#397830
RGBrgb(57, 120, 48)
HSLhsl(113, 43%, 33%)
HSVhsv(113, 60%, 47%)
CMYKcmyk(52.5%, 0%, 60%, 52.9%)
CIE-LABlab(44.96, -35.41, 32.89)
CIE-LCHlch(44.96, 48.33, 137.11°)
OKLaboklab(51.36% -0.0967 0.0777)
OKLCHoklch(51.36% 0.124 141.2)
XYZxyz(8.9369, 14.5155, 5.1266)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397830 #6F3078
analogous
#5D7830 #397830 #30784B
triadic
#397830 #303978 #783039
tetradic
#397830 #305D78 #6F3078 #784B30
square
#397830 #305D78 #6F3078 #784B30
split-complementary
#397830 #4B3078 #78305D
monochromatic
#0F210D #244C1F #397830 #4EA441 #6EC062

Accessibility & contrast

On white

5.38
#397830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#397830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397830
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397830#FFFFFF#000000##FFFFFF
##3978301.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E29
Deuteranopia (green-blind)
#736835
Tritanopia (blue-blind)
#327468
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #397830;
/* rgb */ color: rgb(57, 120, 48);
/* oklch */ color: oklch(51.4% 0.124 141.2);
Tailwind
colors: {
  custom: {
    50: '#759f6b',
    500: '#397830',
    950: '#000000',
  },
}
SCSS
$custom: #397830;
$custom-light: #759f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#397830",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 48
  },
  "hsl": {
    "h": 112.5,
    "s": 42.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51362,
    "c": 0.12404,
    "h": 141.2
  },
  "luminance": 0.14516
}

Semantic roles & 50–950 ramp

primary
#397830
secondary
#9E5CA7
accent
#55D3C3
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E07
muted
#7B7E7A

Preview Lab

Preview with #397830

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

Preview Lab → · Contrast checker → · Palette generator →

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