#397833#397833

#397833 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.4% C 0.121 H 142.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#397833
RGBrgb(57, 120, 51)
HSLhsl(115, 40%, 34%)
HSVhsv(115, 58%, 47%)
CMYKcmyk(52.5%, 0%, 57.5%, 52.9%)
CIE-LABlab(45.00, -35.02, 31.40)
CIE-LCHlch(45.00, 47.04, 138.12°)
OKLaboklab(51.4% -0.0955 0.0747)
OKLCHoklch(51.4% 0.121 142)
XYZxyz(9.0009, 14.5411, 5.4637)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397833 #723378
analogous
#5B7833 #397833 #33784F
triadic
#397833 #333978 #783339
tetradic
#397833 #335B78 #723378 #784F33
square
#397833 #335B78 #723378 #784F33
split-complementary
#397833 #4F3378 #78335B
monochromatic
#10220E #254D21 #397833 #4DA345 #6FBE67

Accessibility & contrast

On white

5.37
#397833 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#397833 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397833
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397833#FFFFFF#000000##FFFFFF
##3978331.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2C
Deuteranopia (green-blind)
#726838
Tritanopia (blue-blind)
#317569
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #397833;
/* rgb */ color: rgb(57, 120, 51);
/* oklch */ color: oklch(51.4% 0.121 142.0);
Tailwind
colors: {
  custom: {
    50: '#759f6d',
    500: '#397833',
    950: '#000000',
  },
}
SCSS
$custom: #397833;
$custom-light: #759f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#397833",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 51
  },
  "hsl": {
    "h": 114.783,
    "s": 40.351,
    "l": 33.529
  },
  "oklch": {
    "l": 0.51403,
    "c": 0.12125,
    "h": 142
  },
  "luminance": 0.14542
}

Semantic roles & 50–950 ramp

primary
#397833
secondary
#A060A6
accent
#58D0C6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E07
muted
#7B7E7A

Preview Lab

Preview with #397833

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

Preview Lab → · Contrast checker → · Palette generator →

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