#397020#397020

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

Color values

HEX#397020
RGBrgb(57, 112, 32)
HSLhsl(101, 56%, 28%)
HSVhsv(101, 71%, 44%)
CMYKcmyk(49.1%, 0%, 71.4%, 56.1%)
CIE-LABlab(42.10, -33.67, 37.29)
CIE-LCHlch(42.10, 50.24, 132.08°)
OKLaboklab(48.96% -0.0931 0.0852)
OKLCHoklch(48.96% 0.126 137.5)
XYZxyz(7.7420, 12.5620, 3.3830)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397020 #572070
analogous
#617020 #397020 #20702F
triadic
#397020 #203970 #702039
tetradic
#397020 #206170 #572070 #702F20
square
#397020 #206170 #572070 #702F20
split-complementary
#397020 #2F2070 #702061
monochromatic
#0C1807 #214012 #397020 #51A02E #6CC942

Accessibility & contrast

On white

5.98
#397020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#397020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397020
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397020#FFFFFF#000000##FFFFFF
##3970201.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746614
Deuteranopia (green-blind)
#6C6227
Tritanopia (blue-blind)
#366C60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #397020;
/* rgb */ color: rgb(57, 112, 32);
/* oklch */ color: oklch(49.0% 0.126 137.5);
Tailwind
colors: {
  custom: {
    50: '#759960',
    500: '#397020',
    950: '#000000',
  },
}
SCSS
$custom: #397020;
$custom-light: #759960;
$custom-dark: #000000;
JSON
{
  "hex": "#397020",
  "rgb": {
    "r": 57,
    "g": 112,
    "b": 32
  },
  "hsl": {
    "h": 101.25,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48956,
    "c": 0.12619,
    "h": 137.5
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

primary
#397020
secondary
#8748A4
accent
#49DFB0
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #397020

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

Preview Lab → · Contrast checker → · Palette generator →

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