#227B4E#227B4E

#227B4E is a mid, moderate green. Relative luminance 0.151; OKLCH L 51.9% C 0.110 H 156.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#227B4E
RGBrgb(34, 123, 78)
HSLhsl(150, 57%, 31%)
HSVhsv(150, 72%, 48%)
CMYKcmyk(72.4%, 0%, 36.6%, 51.8%)
CIE-LABlab(45.71, -37.11, 17.28)
CIE-LCHlch(45.71, 40.94, 155.03°)
OKLaboklab(51.92% -0.1005 0.0435)
OKLCHoklch(51.92% 0.11 156.6)
XYZxyz(9.1169, 15.0550, 9.6317)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B4E #7B224F
analogous
#227B22 #227B4E #227B7A
triadic
#227B4E #4E227B #7B4E22
tetradic
#227B4E #22227B #7B224F #7B7A22
square
#227B4E #22227B #7B224F #7B7A22
split-complementary
#227B4E #7A227B #7B2222
monochromatic
#071B11 #154B30 #227B4E #2FAB6C #4ACD8B

Accessibility & contrast

On white

5.24
#227B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#227B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B4E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B4E#FFFFFF#000000##FFFFFF
##227B4E1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714B
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227b4e;
/* rgb */ color: rgb(34, 123, 78);
/* oklch */ color: oklch(51.9% 0.110 156.6);
Tailwind
colors: {
  custom: {
    50: '#6aa280',
    500: '#227b4e',
    950: '#000000',
  },
}
SCSS
$custom: #227b4e;
$custom-light: #6aa280;
$custom-dark: #000000;
JSON
{
  "hex": "#227b4e",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 78
  },
  "hsl": {
    "h": 149.663,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5192,
    "c": 0.10951,
    "h": 156.6
  },
  "luminance": 0.15056
}

Semantic roles & 50–950 ramp

primary
#227B4E
secondary
#AE4B7D
accent
#4895E0
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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