#397922#397922

#397922 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.137 H 138.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#397922
RGBrgb(57, 121, 34)
HSLhsl(104, 56%, 30%)
HSVhsv(104, 72%, 47%)
CMYKcmyk(52.9%, 0%, 71.9%, 52.5%)
CIE-LABlab(45.16, -37.33, 39.65)
CIE-LCHlch(45.16, 54.46, 133.27°)
OKLaboklab(51.48% -0.1029 0.0904)
OKLCHoklch(51.48% 0.137 138.7)
XYZxyz(8.8131, 14.6594, 3.8782)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397922 #622279
analogous
#647922 #397922 #227936
triadic
#397922 #223979 #792239
tetradic
#397922 #226479 #622279 #793622
square
#397922 #226479 #622279 #793622
split-complementary
#397922 #362279 #792264
monochromatic
#0C1907 #224915 #397922 #50A92F #6CCC49

Accessibility & contrast

On white

5.34
#397922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#397922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397922
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397922#FFFFFF#000000##FFFFFF
##3979221.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E15
Deuteranopia (green-blind)
#74692A
Tritanopia (blue-blind)
#347568
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #397922;
/* rgb */ color: rgb(57, 121, 34);
/* oklch */ color: oklch(51.5% 0.137 138.7);
Tailwind
colors: {
  custom: {
    50: '#76a062',
    500: '#397922',
    950: '#000000',
  },
}
SCSS
$custom: #397922;
$custom-light: #76a062;
$custom-dark: #000000;
JSON
{
  "hex": "#397922",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 104.138,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51483,
    "c": 0.13695,
    "h": 138.7
  },
  "luminance": 0.1466
}

Semantic roles & 50–950 ramp

primary
#397922
secondary
#924BAC
accent
#48DFB7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090F05
muted
#7B7E7A

Preview Lab

Preview with #397922

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

Preview Lab → · Contrast checker → · Palette generator →

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