#397122#397122

#397122 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.3% C 0.126 H 138.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#397122
RGBrgb(57, 113, 34)
HSLhsl(103, 54%, 29%)
HSVhsv(103, 70%, 44%)
CMYKcmyk(49.6%, 0%, 69.9%, 55.7%)
CIE-LABlab(42.45, -33.92, 36.78)
CIE-LCHlch(42.45, 50.04, 132.68°)
OKLaboklab(49.25% -0.0936 0.0844)
OKLCHoklch(49.25% 0.126 138)
XYZxyz(7.8809, 12.7951, 3.5675)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397122 #5A2271
analogous
#617122 #397122 #227133
triadic
#397122 #223971 #712239
tetradic
#397122 #226171 #5A2271 #713322
square
#397122 #226171 #5A2271 #713322
split-complementary
#397122 #332271 #712261
monochromatic
#0C1807 #214214 #397122 #51A030 #6CC746

Accessibility & contrast

On white

5.90
#397122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#397122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397122
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397122#FFFFFF#000000##FFFFFF
##3971221.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756717
Deuteranopia (green-blind)
#6D6229
Tritanopia (blue-blind)
#356D61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #397122;
/* rgb */ color: rgb(57, 113, 34);
/* oklch */ color: oklch(49.3% 0.126 138.0);
Tailwind
colors: {
  custom: {
    50: '#759a61',
    500: '#397122',
    950: '#000000',
  },
}
SCSS
$custom: #397122;
$custom-light: #759a61;
$custom-dark: #000000;
JSON
{
  "hex": "#397122",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 34
  },
  "hsl": {
    "h": 102.532,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49254,
    "c": 0.12605,
    "h": 138
  },
  "luminance": 0.12796
}

Semantic roles & 50–950 ramp

primary
#397122
secondary
#8A4AA4
accent
#4BDDB2
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #397122

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

Preview Lab → · Contrast checker → · Palette generator →

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