#397236#397236

#397236 is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.8% C 0.109 H 142.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#397236
RGBrgb(57, 114, 54)
HSLhsl(117, 36%, 33%)
HSVhsv(117, 53%, 45%)
CMYKcmyk(50%, 0%, 52.6%, 55.3%)
CIE-LABlab(43.02, -31.94, 27.42)
CIE-LCHlch(43.02, 42.10, 139.35°)
OKLaboklab(49.79% -0.087 0.0661)
OKLCHoklch(49.79% 0.109 142.8)
XYZxyz(8.3701, 13.1702, 5.5904)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397236 #6F3672
analogous
#577236 #397236 #367251
triadic
#397236 #363972 #723639
tetradic
#397236 #365772 #6F3672 #725136
square
#397236 #365772 #6F3672 #725136
split-complementary
#397236 #513672 #723657
monochromatic
#0F1F0F #244822 #397236 #4E9C4A #6EB86A

Accessibility & contrast

On white

5.78
#397236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#397236 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397236
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397236#FFFFFF#000000##FFFFFF
##3972361.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746931
Deuteranopia (green-blind)
#6D643A
Tritanopia (blue-blind)
#326F64
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #397236;
/* rgb */ color: rgb(57, 114, 54);
/* oklch */ color: oklch(49.8% 0.109 142.8);
Tailwind
colors: {
  custom: {
    50: '#749b6e',
    500: '#397236',
    950: '#000000',
  },
}
SCSS
$custom: #397236;
$custom-light: #749b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#397236",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 54
  },
  "hsl": {
    "h": 117,
    "s": 35.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.49792,
    "c": 0.10927,
    "h": 142.8
  },
  "luminance": 0.13171
}

Semantic roles & 50–950 ramp

primary
#397236
secondary
#9E63A1
accent
#5CCCC6
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #397236

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

Preview Lab → · Contrast checker → · Palette generator →

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