#397822#397822

#397822 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.2% C 0.136 H 138.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#397822
RGBrgb(57, 120, 34)
HSLhsl(104, 56%, 30%)
HSVhsv(104, 72%, 47%)
CMYKcmyk(52.5%, 0%, 71.7%, 52.9%)
CIE-LABlab(44.83, -36.91, 39.30)
CIE-LCHlch(44.83, 53.92, 133.21°)
OKLaboklab(51.21% -0.1017 0.0897)
OKLCHoklch(51.21% 0.136 138.6)
XYZxyz(8.6922, 14.4177, 3.8379)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397822 #612278
analogous
#647822 #397822 #227836
triadic
#397822 #223978 #782239
tetradic
#397822 #226478 #612278 #783622
square
#397822 #226478 #612278 #783622
split-complementary
#397822 #362278 #782264
monochromatic
#0C1907 #224814 #397822 #50A830 #6CCB49

Accessibility & contrast

On white

5.41
#397822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#397822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397822
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397822#FFFFFF#000000##FFFFFF
##3978221.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D15
Deuteranopia (green-blind)
#73682A
Tritanopia (blue-blind)
#347467
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #397822;
/* rgb */ color: rgb(57, 120, 34);
/* oklch */ color: oklch(51.2% 0.136 138.6);
Tailwind
colors: {
  custom: {
    50: '#769f62',
    500: '#397822',
    950: '#000000',
  },
}
SCSS
$custom: #397822;
$custom-light: #769f62;
$custom-dark: #000000;
JSON
{
  "hex": "#397822",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 103.953,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51205,
    "c": 0.13561,
    "h": 138.6
  },
  "luminance": 0.14418
}

Semantic roles & 50–950 ramp

primary
#397822
secondary
#914BAB
accent
#49DFB7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E05
muted
#7B7E7A

Preview Lab

Preview with #397822

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

Preview Lab → · Contrast checker → · Palette generator →

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