#227E4E#227E4E

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

Color values

HEX#227E4E
RGBrgb(34, 126, 78)
HSLhsl(149, 58%, 31%)
HSVhsv(149, 73%, 49%)
CMYKcmyk(73%, 0%, 38.1%, 50.6%)
CIE-LABlab(46.73, -38.37, 18.65)
CIE-LCHlch(46.73, 42.66, 154.08°)
OKLaboklab(52.76% -0.1038 0.0467)
OKLCHoklch(52.76% 0.114 155.8)
XYZxyz(9.4948, 15.8108, 9.7576)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E4E #7E2252
analogous
#247E22 #227E4E #227E7C
triadic
#227E4E #4E227E #7E4E22
tetradic
#227E4E #22247E #7E2252 #7E7C22
square
#227E4E #22247E #7E2252 #7E7C22
split-complementary
#227E4E #7C227E #7E2224
monochromatic
#081E12 #154E30 #227E4E #2FAE6C #4CCF8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227E4E#FFFFFF#000000##FFFFFF
##227E4E1.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)
#7D744B
Deuteranopia (green-blind)
#726B51
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227e4e;
/* rgb */ color: rgb(34, 126, 78);
/* oklch */ color: oklch(52.8% 0.114 155.8);
Tailwind
colors: {
  custom: {
    50: '#6ba480',
    500: '#227e4e',
    950: '#000000',
  },
}
SCSS
$custom: #227e4e;
$custom-light: #6ba480;
$custom-dark: #000000;
JSON
{
  "hex": "#227e4e",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 78
  },
  "hsl": {
    "h": 148.696,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52757,
    "c": 0.11381,
    "h": 155.8
  },
  "luminance": 0.15812
}

Semantic roles & 50–950 ramp

primary
#227E4E
secondary
#B14B80
accent
#4797E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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