#227E45#227E45

#227E45 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.123 H 151.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#227E45
RGBrgb(34, 126, 69)
HSLhsl(143, 58%, 31%)
HSVhsv(143, 73%, 49%)
CMYKcmyk(73%, 0%, 45.2%, 50.6%)
CIE-LABlab(46.57, -40.16, 23.50)
CIE-LCHlch(46.57, 46.53, 149.66°)
OKLaboklab(52.57% -0.1082 0.058)
OKLCHoklch(52.57% 0.123 151.8)
XYZxyz(9.1939, 15.6904, 8.1731)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E45 #7E225B
analogous
#2D7E22 #227E45 #227E73
triadic
#227E45 #45227E #7E4522
tetradic
#227E45 #222D7E #7E225B #7E7322
square
#227E45 #222D7E #7E225B #7E7322
split-complementary
#227E45 #73227E #7E222D
monochromatic
#081E10 #154E2B #227E45 #2FAE5F #4CCF7E

Accessibility & contrast

On white

5.07
#227E45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#227E45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E45
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E45#FFFFFF#000000##FFFFFF
##227E451.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7341
Deuteranopia (green-blind)
#736B49
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227e45;
/* rgb */ color: rgb(34, 126, 69);
/* oklch */ color: oklch(52.6% 0.123 151.8);
Tailwind
colors: {
  custom: {
    50: '#6ba479',
    500: '#227e45',
    950: '#000000',
  },
}
SCSS
$custom: #227e45;
$custom-light: #6ba479;
$custom-dark: #000000;
JSON
{
  "hex": "#227e45",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 69
  },
  "hsl": {
    "h": 142.826,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52573,
    "c": 0.12273,
    "h": 151.8
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#227E45
secondary
#B14B8A
accent
#47A6E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227E45

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

Preview Lab → · Contrast checker → · Palette generator →

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