#227E39#227E39

#227E39 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.134 H 147.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#227E39
RGBrgb(34, 126, 57)
HSLhsl(135, 58%, 31%)
HSVhsv(135, 73%, 49%)
CMYKcmyk(73%, 0%, 54.8%, 50.6%)
CIE-LABlab(46.39, -42.21, 29.78)
CIE-LCHlch(46.39, 51.66, 144.80°)
OKLaboklab(52.37% -0.1137 0.0716)
OKLCHoklch(52.37% 0.134 147.8)
XYZxyz(8.8584, 15.5562, 6.4059)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E39 #7E2267
analogous
#397E22 #227E39 #227E67
triadic
#227E39 #39227E #7E3922
tetradic
#227E39 #22397E #7E2267 #7E6722
square
#227E39 #22397E #7E2267 #7E6722
split-complementary
#227E39 #67227E #7E2239
monochromatic
#081E0D #154E23 #227E39 #2FAE4F #4CCF6C

Accessibility & contrast

On white

5.11
#227E39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#227E39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E39
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E39#FFFFFF#000000##FFFFFF
##227E391.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7333
Deuteranopia (green-blind)
#746B3E
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227e39;
/* rgb */ color: rgb(34, 126, 57);
/* oklch */ color: oklch(52.4% 0.134 147.8);
Tailwind
colors: {
  custom: {
    50: '#6ba471',
    500: '#227e39',
    950: '#000000',
  },
}
SCSS
$custom: #227e39;
$custom-light: #6ba471;
$custom-dark: #000000;
JSON
{
  "hex": "#227e39",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 57
  },
  "hsl": {
    "h": 135,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52367,
    "c": 0.13438,
    "h": 147.8
  },
  "luminance": 0.15557
}

Semantic roles & 50–950 ramp

primary
#227E39
secondary
#B14B97
accent
#47BAE1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227E39

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

Preview Lab → · Contrast checker → · Palette generator →

#227E39 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva