#227E34#227E34

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

Color values

HEX#227E34
RGBrgb(34, 126, 52)
HSLhsl(132, 58%, 31%)
HSVhsv(132, 73%, 49%)
CMYKcmyk(73%, 0%, 58.7%, 50.6%)
CIE-LABlab(46.32, -42.96, 32.28)
CIE-LCHlch(46.32, 53.74, 143.07°)
OKLaboklab(52.29% -0.1158 0.0768)
OKLCHoklch(52.29% 0.139 146.5)
XYZxyz(8.7398, 15.5088, 5.7810)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E34 #7E226C
analogous
#3E7E22 #227E34 #227E62
triadic
#227E34 #34227E #7E3422
tetradic
#227E34 #223E7E #7E226C #7E6222
square
#227E34 #223E7E #7E226C #7E6222
split-complementary
#227E34 #62227E #7E223E
monochromatic
#081E0C #154E20 #227E34 #2FAE48 #4CCF65

Accessibility & contrast

On white

5.12
#227E34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#227E34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E34
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E34#FFFFFF#000000##FFFFFF
##227E341.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80722D
Deuteranopia (green-blind)
#756B3A
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227e34;
/* rgb */ color: rgb(34, 126, 52);
/* oklch */ color: oklch(52.3% 0.139 146.5);
Tailwind
colors: {
  custom: {
    50: '#6ba46e',
    500: '#227e34',
    950: '#000000',
  },
}
SCSS
$custom: #227e34;
$custom-light: #6ba46e;
$custom-dark: #000000;
JSON
{
  "hex": "#227e34",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 52
  },
  "hsl": {
    "h": 131.739,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52294,
    "c": 0.13897,
    "h": 146.5
  },
  "luminance": 0.1551
}

Semantic roles & 50–950 ramp

primary
#227E34
secondary
#B14B9D
accent
#47C3E1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #227E34

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

Preview Lab → · Contrast checker → · Palette generator →

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