#227E3E#227E3E

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

Color values

HEX#227E3E
RGBrgb(34, 126, 62)
HSLhsl(138, 58%, 31%)
HSVhsv(138, 73%, 49%)
CMYKcmyk(73%, 0%, 50.8%, 50.6%)
CIE-LABlab(46.46, -41.40, 27.20)
CIE-LCHlch(46.46, 49.54, 146.70°)
OKLaboklab(52.45% -0.1115 0.0661)
OKLCHoklch(52.45% 0.13 149.3)
XYZxyz(8.9893, 15.6086, 7.0955)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E3E #7E2262
analogous
#347E22 #227E3E #227E6C
triadic
#227E3E #3E227E #7E3E22
tetradic
#227E3E #22347E #7E2262 #7E6C22
square
#227E3E #22347E #7E2262 #7E6C22
split-complementary
#227E3E #6C227E #7E2234
monochromatic
#081E0F #154E26 #227E3E #2FAE56 #4CCF74

Accessibility & contrast

On white

5.09
#227E3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#227E3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E3E
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E3E#FFFFFF#000000##FFFFFF
##227E3E1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7339
Deuteranopia (green-blind)
#746B43
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227e3e;
/* rgb */ color: rgb(34, 126, 62);
/* oklch */ color: oklch(52.4% 0.130 149.3);
Tailwind
colors: {
  custom: {
    50: '#6ba474',
    500: '#227e3e',
    950: '#000000',
  },
}
SCSS
$custom: #227e3e;
$custom-light: #6ba474;
$custom-dark: #000000;
JSON
{
  "hex": "#227e3e",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 62
  },
  "hsl": {
    "h": 138.261,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52447,
    "c": 0.12961,
    "h": 149.3
  },
  "luminance": 0.1561
}

Semantic roles & 50–950 ramp

primary
#227E3E
secondary
#B14B92
accent
#47B2E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227E3E

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

Preview Lab → · Contrast checker → · Palette generator →

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