#397022#397022

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

Color values

HEX#397022
RGBrgb(57, 112, 34)
HSLhsl(102, 53%, 29%)
HSVhsv(102, 70%, 44%)
CMYKcmyk(49.1%, 0%, 69.6%, 56.1%)
CIE-LABlab(42.11, -33.48, 36.42)
CIE-LCHlch(42.11, 49.47, 132.60°)
OKLaboklab(48.98% -0.0924 0.0836)
OKLCHoklch(48.98% 0.125 137.9)
XYZxyz(7.7700, 12.5732, 3.5305)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397022 #592270
analogous
#607022 #397022 #227032
triadic
#397022 #223970 #702239
tetradic
#397022 #226070 #592270 #703222
square
#397022 #226070 #592270 #703222
split-complementary
#397022 #322270 #702260
monochromatic
#0C1707 #214114 #397022 #519F30 #6CC746

Accessibility & contrast

On white

5.97
#397022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #397022
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397022#FFFFFF#000000##FFFFFF
##3970221.005.973.515.97
#FFFFFF5.971.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746618
Deuteranopia (green-blind)
#6C6229
Tritanopia (blue-blind)
#356C60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #397022;
/* rgb */ color: rgb(57, 112, 34);
/* oklch */ color: oklch(49.0% 0.125 137.9);
Tailwind
colors: {
  custom: {
    50: '#759961',
    500: '#397022',
    950: '#000000',
  },
}
SCSS
$custom: #397022;
$custom-light: #759961;
$custom-dark: #000000;
JSON
{
  "hex": "#397022",
  "rgb": {
    "r": 57,
    "g": 112,
    "b": 34
  },
  "hsl": {
    "h": 102.308,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48975,
    "c": 0.12466,
    "h": 137.9
  },
  "luminance": 0.12574
}

Semantic roles & 50–950 ramp

primary
#397022
secondary
#894AA3
accent
#4BDDB2
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #397022

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

Preview Lab → · Contrast checker → · Palette generator →

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