#397027#397027

#397027 is a mid, vivid green. Relative luminance 0.126; OKLCH L 49.0% C 0.121 H 138.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#397027
RGBrgb(57, 112, 39)
HSLhsl(105, 48%, 30%)
HSVhsv(105, 65%, 44%)
CMYKcmyk(49.1%, 0%, 65.2%, 56.1%)
CIE-LABlab(42.16, -32.97, 34.13)
CIE-LCHlch(42.16, 47.46, 134.01°)
OKLaboklab(49.03% -0.0907 0.0794)
OKLCHoklch(49.03% 0.121 138.8)
XYZxyz(7.8474, 12.6042, 3.9384)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397027 #5E2770
analogous
#5E7027 #397027 #277039
triadic
#397027 #273970 #702739
tetradic
#397027 #275E70 #5E2770 #703927
square
#397027 #275E70 #5E2770 #703927
split-complementary
#397027 #392770 #70275E
monochromatic
#0C1708 #224317 #397027 #509D37 #6CC250

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397027#FFFFFF#000000##FFFFFF
##3970271.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)
#73661F
Deuteranopia (green-blind)
#6C622D
Tritanopia (blue-blind)
#356C61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #397027;
/* rgb */ color: rgb(57, 112, 39);
/* oklch */ color: oklch(49.0% 0.121 138.8);
Tailwind
colors: {
  custom: {
    50: '#749964',
    500: '#397027',
    950: '#000000',
  },
}
SCSS
$custom: #397027;
$custom-light: #749964;
$custom-dark: #000000;
JSON
{
  "hex": "#397027",
  "rgb": {
    "r": 57,
    "g": 112,
    "b": 39
  },
  "hsl": {
    "h": 105.205,
    "s": 48.344,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4903,
    "c": 0.12054,
    "h": 138.8
  },
  "luminance": 0.12605
}

Semantic roles & 50–950 ramp

primary
#397027
secondary
#8E50A2
accent
#50D8B6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #397027

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

Preview Lab → · Contrast checker → · Palette generator →

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