#227E38#227E38

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

Color values

HEX#227E38
RGBrgb(34, 126, 56)
HSLhsl(134, 58%, 31%)
HSVhsv(134, 73%, 49%)
CMYKcmyk(73%, 0%, 55.6%, 50.6%)
CIE-LABlab(46.37, -42.37, 30.28)
CIE-LCHlch(46.37, 52.08, 144.44°)
OKLaboklab(52.35% -0.1141 0.0727)
OKLCHoklch(52.35% 0.135 147.5)
XYZxyz(8.8337, 15.5463, 6.2758)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E38 #7E2268
analogous
#3A7E22 #227E38 #227E66
triadic
#227E38 #38227E #7E3822
tetradic
#227E38 #223A7E #7E2268 #7E6622
square
#227E38 #223A7E #7E2268 #7E6622
split-complementary
#227E38 #66227E #7E223A
monochromatic
#081E0D #154E23 #227E38 #2FAE4D #4CCF6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227E38#FFFFFF#000000##FFFFFF
##227E381.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)
#7F7232
Deuteranopia (green-blind)
#756B3D
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227e38;
/* rgb */ color: rgb(34, 126, 56);
/* oklch */ color: oklch(52.4% 0.135 147.5);
Tailwind
colors: {
  custom: {
    50: '#6ba470',
    500: '#227e38',
    950: '#000000',
  },
}
SCSS
$custom: #227e38;
$custom-light: #6ba470;
$custom-dark: #000000;
JSON
{
  "hex": "#227e38",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 56
  },
  "hsl": {
    "h": 134.348,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52352,
    "c": 0.13532,
    "h": 147.5
  },
  "luminance": 0.15547
}

Semantic roles & 50–950 ramp

primary
#227E38
secondary
#B14B98
accent
#47BCE1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227E38

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

Preview Lab → · Contrast checker → · Palette generator →

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