#397226#397226

#397226 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.6% C 0.124 H 138.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#397226
RGBrgb(57, 114, 38)
HSLhsl(105, 50%, 30%)
HSVhsv(105, 67%, 45%)
CMYKcmyk(50%, 0%, 66.7%, 55.3%)
CIE-LABlab(42.83, -33.96, 35.35)
CIE-LCHlch(42.83, 49.02, 133.85°)
OKLaboklab(49.58% -0.0934 0.0819)
OKLCHoklch(49.58% 0.124 138.8)
XYZxyz(8.0542, 13.0439, 3.9267)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397226 #5F2672
analogous
#5F7226 #397226 #267239
triadic
#397226 #263972 #722639
tetradic
#397226 #265F72 #5F2672 #723926
square
#397226 #265F72 #5F2672 #723926
split-complementary
#397226 #392672 #72265F
monochromatic
#0B1708 #224417 #397226 #50A035 #6CC44E

Accessibility & contrast

On white

5.82
#397226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #397226
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397226#FFFFFF#000000##FFFFFF
##3972261.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75681D
Deuteranopia (green-blind)
#6E632C
Tritanopia (blue-blind)
#356E62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #397226;
/* rgb */ color: rgb(57, 114, 38);
/* oklch */ color: oklch(49.6% 0.124 138.8);
Tailwind
colors: {
  custom: {
    50: '#759b64',
    500: '#397226',
    950: '#000000',
  },
}
SCSS
$custom: #397226;
$custom-light: #759b64;
$custom-dark: #000000;
JSON
{
  "hex": "#397226",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 105,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49575,
    "c": 0.12424,
    "h": 138.8
  },
  "luminance": 0.13044
}

Semantic roles & 50–950 ramp

primary
#397226
secondary
#8F4FA5
accent
#4EDAB7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E05
muted
#7B7E7A

Preview Lab

Preview with #397226

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

Preview Lab → · Contrast checker → · Palette generator →

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