#227E36#227E36

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

Color values

HEX#227E36
RGBrgb(34, 126, 54)
HSLhsl(133, 58%, 31%)
HSVhsv(133, 73%, 49%)
CMYKcmyk(73%, 0%, 57.1%, 50.6%)
CIE-LABlab(46.35, -42.67, 31.29)
CIE-LCHlch(46.35, 52.91, 143.74°)
OKLaboklab(52.32% -0.115 0.0748)
OKLCHoklch(52.32% 0.137 147)
XYZxyz(8.7858, 15.5272, 6.0233)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E36 #7E226A
analogous
#3C7E22 #227E36 #227E64
triadic
#227E36 #36227E #7E3622
tetradic
#227E36 #223C7E #7E226A #7E6422
square
#227E36 #223C7E #7E226A #7E6422
split-complementary
#227E36 #64227E #7E223C
monochromatic
#081E0D #154E21 #227E36 #2FAE4B #4CCF68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227E36#FFFFFF#000000##FFFFFF
##227E361.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)
#80722F
Deuteranopia (green-blind)
#756B3C
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227e36;
/* rgb */ color: rgb(34, 126, 54);
/* oklch */ color: oklch(52.3% 0.137 147.0);
Tailwind
colors: {
  custom: {
    50: '#6ba46f',
    500: '#227e36',
    950: '#000000',
  },
}
SCSS
$custom: #227e36;
$custom-light: #6ba46f;
$custom-dark: #000000;
JSON
{
  "hex": "#227e36",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 54
  },
  "hsl": {
    "h": 133.043,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52322,
    "c": 0.13716,
    "h": 147
  },
  "luminance": 0.15528
}

Semantic roles & 50–950 ramp

primary
#227E36
secondary
#B14B9B
accent
#47BFE1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227E36

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

Preview Lab → · Contrast checker → · Palette generator →

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