#397223#397223

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

Color values

HEX#397223
RGBrgb(57, 114, 35)
HSLhsl(103, 53%, 29%)
HSVhsv(103, 69%, 45%)
CMYKcmyk(50%, 0%, 69.3%, 55.3%)
CIE-LABlab(42.80, -34.26, 36.71)
CIE-LCHlch(42.80, 50.21, 133.03°)
OKLaboklab(49.54% -0.0945 0.0844)
OKLCHoklch(49.54% 0.127 138.2)
XYZxyz(8.0078, 13.0253, 3.6820)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397223 #5C2372
analogous
#617223 #397223 #237235
triadic
#397223 #233972 #722339
tetradic
#397223 #236172 #5C2372 #723523
square
#397223 #236172 #5C2372 #723523
split-complementary
#397223 #352372 #722361
monochromatic
#0C1707 #224315 #397223 #50A131 #6CC748

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397223#FFFFFF#000000##FFFFFF
##3972231.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)
#766819
Deuteranopia (green-blind)
#6E632A
Tritanopia (blue-blind)
#356E62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #397223;
/* rgb */ color: rgb(57, 114, 35);
/* oklch */ color: oklch(49.5% 0.127 138.2);
Tailwind
colors: {
  custom: {
    50: '#759b62',
    500: '#397223',
    950: '#000000',
  },
}
SCSS
$custom: #397223;
$custom-light: #759b62;
$custom-dark: #000000;
JSON
{
  "hex": "#397223",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 103.291,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49543,
    "c": 0.12665,
    "h": 138.2
  },
  "luminance": 0.13026
}

Semantic roles & 50–950 ramp

primary
#397223
secondary
#8C4CA5
accent
#4BDCB4
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E05
muted
#7B7E7A

Preview Lab

Preview with #397223

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

Preview Lab → · Contrast checker → · Palette generator →

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