#397229#397229

#397229 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.6% C 0.122 H 139.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#397229
RGBrgb(57, 114, 41)
HSLhsl(107, 47%, 30%)
HSVhsv(107, 64%, 45%)
CMYKcmyk(50%, 0%, 64%, 55.3%)
CIE-LABlab(42.86, -33.63, 33.95)
CIE-LCHlch(42.86, 47.79, 134.73°)
OKLaboklab(49.61% -0.0923 0.0792)
OKLCHoklch(49.61% 0.122 139.4)
XYZxyz(8.1046, 13.0640, 4.1919)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397229 #622972
analogous
#5D7229 #397229 #29723D
triadic
#397229 #293972 #722939
tetradic
#397229 #295D72 #622972 #723D29
square
#397229 #295D72 #622972 #723D29
split-complementary
#397229 #3D2972 #72295D
monochromatic
#0C1809 #224519 #397229 #509F39 #6CC154

Accessibility & contrast

On white

5.81
#397229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#397229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397229
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397229#FFFFFF#000000##FFFFFF
##3972291.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756821
Deuteranopia (green-blind)
#6E632F
Tritanopia (blue-blind)
#346E62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #397229;
/* rgb */ color: rgb(57, 114, 41);
/* oklch */ color: oklch(49.6% 0.122 139.4);
Tailwind
colors: {
  custom: {
    50: '#759b66',
    500: '#397229',
    950: '#000000',
  },
}
SCSS
$custom: #397229;
$custom-light: #759b66;
$custom-dark: #000000;
JSON
{
  "hex": "#397229",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 106.849,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4961,
    "c": 0.12167,
    "h": 139.4
  },
  "luminance": 0.13065
}

Semantic roles & 50–950 ramp

primary
#397229
secondary
#9253A4
accent
#51D7B9
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #397229

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

Preview Lab → · Contrast checker → · Palette generator →

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