#227B4C#227B4C

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

Color values

HEX#227B4C
RGBrgb(34, 123, 76)
HSLhsl(148, 57%, 31%)
HSVhsv(148, 72%, 48%)
CMYKcmyk(72.4%, 0%, 38.2%, 51.8%)
CIE-LABlab(45.67, -37.54, 18.38)
CIE-LCHlch(45.67, 41.79, 153.91°)
OKLaboklab(51.88% -0.1015 0.0461)
OKLCHoklch(51.88% 0.111 155.6)
XYZxyz(9.0463, 15.0268, 9.2598)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B4C #7B2251
analogous
#247B22 #227B4C #227B78
triadic
#227B4C #4C227B #7B4C22
tetradic
#227B4C #22247B #7B2251 #7B7822
square
#227B4C #22247B #7B2251 #7B7822
split-complementary
#227B4C #78227B #7B2224
monochromatic
#071B11 #154B2E #227B4C #2FAB6A #4ACD88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227B4C#FFFFFF#000000##FFFFFF
##227B4C1.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)
#7A7149
Deuteranopia (green-blind)
#6F694F
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227b4c;
/* rgb */ color: rgb(34, 123, 76);
/* oklch */ color: oklch(51.9% 0.111 155.6);
Tailwind
colors: {
  custom: {
    50: '#6aa27e',
    500: '#227b4c',
    950: '#000000',
  },
}
SCSS
$custom: #227b4c;
$custom-light: #6aa27e;
$custom-dark: #000000;
JSON
{
  "hex": "#227b4c",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 76
  },
  "hsl": {
    "h": 148.315,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51876,
    "c": 0.11149,
    "h": 155.6
  },
  "luminance": 0.15028
}

Semantic roles & 50–950 ramp

primary
#227B4C
secondary
#AE4B7F
accent
#4898E0
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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