#397722#397722

#397722 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.134 H 138.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#397722
RGBrgb(57, 119, 34)
HSLhsl(104, 56%, 30%)
HSVhsv(104, 71%, 47%)
CMYKcmyk(52.1%, 0%, 71.4%, 53.3%)
CIE-LABlab(44.49, -36.49, 38.94)
CIE-LCHlch(44.49, 53.37, 133.14°)
OKLaboklab(50.93% -0.1006 0.0889)
OKLCHoklch(50.93% 0.134 138.5)
XYZxyz(8.5726, 14.1784, 3.7980)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397722 #602277
analogous
#637722 #397722 #227736
triadic
#397722 #223977 #772239
tetradic
#397722 #226377 #602277 #773622
square
#397722 #226377 #602277 #773622
split-complementary
#397722 #362277 #772263
monochromatic
#0B1807 #224714 #397722 #50A730 #6CCB49

Accessibility & contrast

On white

5.47
#397722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#397722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397722
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397722#FFFFFF#000000##FFFFFF
##3977221.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C16
Deuteranopia (green-blind)
#73672A
Tritanopia (blue-blind)
#347366
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #397722;
/* rgb */ color: rgb(57, 119, 34);
/* oklch */ color: oklch(50.9% 0.134 138.5);
Tailwind
colors: {
  custom: {
    50: '#769f62',
    500: '#397722',
    950: '#000000',
  },
}
SCSS
$custom: #397722;
$custom-light: #769f62;
$custom-dark: #000000;
JSON
{
  "hex": "#397722",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 103.765,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.50926,
    "c": 0.13427,
    "h": 138.5
  },
  "luminance": 0.14179
}

Semantic roles & 50–950 ramp

primary
#397722
secondary
#904BAA
accent
#49DFB6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E05
muted
#7B7E7A

Preview Lab

Preview with #397722

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

Preview Lab → · Contrast checker → · Palette generator →

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