#227E43#227E43

#227E43 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.125 H 151.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#227E43
RGBrgb(34, 126, 67)
HSLhsl(142, 58%, 31%)
HSVhsv(142, 73%, 49%)
CMYKcmyk(73%, 0%, 46.8%, 50.6%)
CIE-LABlab(46.53, -40.53, 24.57)
CIE-LCHlch(46.53, 47.39, 148.77°)
OKLaboklab(52.54% -0.1091 0.0604)
OKLCHoklch(52.54% 0.125 151.1)
XYZxyz(9.1329, 15.6660, 7.8516)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E43 #7E225D
analogous
#2F7E22 #227E43 #227E71
triadic
#227E43 #43227E #7E4322
tetradic
#227E43 #222F7E #7E225D #7E7122
square
#227E43 #222F7E #7E225D #7E7122
split-complementary
#227E43 #71227E #7E222F
monochromatic
#081E10 #154E29 #227E43 #2FAE5D #4CCF7B

Accessibility & contrast

On white

5.08
#227E43 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#227E43 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E43
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E43#FFFFFF#000000##FFFFFF
##227E431.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227e43;
/* rgb */ color: rgb(34, 126, 67);
/* oklch */ color: oklch(52.5% 0.125 151.1);
Tailwind
colors: {
  custom: {
    50: '#6ba478',
    500: '#227e43',
    950: '#000000',
  },
}
SCSS
$custom: #227e43;
$custom-light: #6ba478;
$custom-dark: #000000;
JSON
{
  "hex": "#227e43",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 67
  },
  "hsl": {
    "h": 141.522,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52535,
    "c": 0.12471,
    "h": 151.1
  },
  "luminance": 0.15667
}

Semantic roles & 50–950 ramp

primary
#227E43
secondary
#B14B8C
accent
#47AAE1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227E43

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

Preview Lab → · Contrast checker → · Palette generator →

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