#227E4D#227E4D

#227E4D is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.7% C 0.115 H 155.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#227E4D
RGBrgb(34, 126, 77)
HSLhsl(148, 58%, 31%)
HSVhsv(148, 73%, 49%)
CMYKcmyk(73%, 0%, 38.9%, 50.6%)
CIE-LABlab(46.71, -38.58, 19.19)
CIE-LCHlch(46.71, 43.09, 153.55°)
OKLaboklab(52.74% -0.1043 0.048)
OKLCHoklch(52.74% 0.115 155.3)
XYZxyz(9.4592, 15.7965, 9.5703)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E4D #7E2253
analogous
#257E22 #227E4D #227E7B
triadic
#227E4D #4D227E #7E4D22
tetradic
#227E4D #22257E #7E2253 #7E7B22
square
#227E4D #22257E #7E2253 #7E7B22
split-complementary
#227E4D #7B227E #7E2225
monochromatic
#081E12 #154E30 #227E4D #2FAE6A #4CCF89

Accessibility & contrast

On white

5.05
#227E4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#227E4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E4D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E4D#FFFFFF#000000##FFFFFF
##227E4D1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D744A
Deuteranopia (green-blind)
#726B50
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227e4d;
/* rgb */ color: rgb(34, 126, 77);
/* oklch */ color: oklch(52.7% 0.115 155.3);
Tailwind
colors: {
  custom: {
    50: '#6ba47f',
    500: '#227e4d',
    950: '#000000',
  },
}
SCSS
$custom: #227e4d;
$custom-light: #6ba47f;
$custom-dark: #000000;
JSON
{
  "hex": "#227e4d",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 77
  },
  "hsl": {
    "h": 148.043,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52735,
    "c": 0.1148,
    "h": 155.3
  },
  "luminance": 0.15798
}

Semantic roles & 50–950 ramp

primary
#227E4D
secondary
#B14B81
accent
#4799E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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