#227A4C#227A4C

#227A4C is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.6% C 0.110 H 155.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#227A4C
RGBrgb(34, 122, 76)
HSLhsl(149, 56%, 31%)
HSVhsv(149, 72%, 48%)
CMYKcmyk(72.1%, 0%, 37.7%, 52.2%)
CIE-LABlab(45.33, -37.12, 17.92)
CIE-LCHlch(45.33, 41.22, 154.22°)
OKLaboklab(51.6% -0.1004 0.045)
OKLCHoklch(51.6% 0.11 155.9)
XYZxyz(8.9229, 14.7800, 9.2186)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A4C #7A2250
analogous
#247A22 #227A4C #227A78
triadic
#227A4C #4C227A #7A4C22
tetradic
#227A4C #22247A #7A2250 #7A7822
square
#227A4C #22247A #7A2250 #7A7822
split-complementary
#227A4C #78227A #7A2224
monochromatic
#071A10 #154A2E #227A4C #2FAA6A #4ACD88

Accessibility & contrast

On white

5.31
#227A4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#227A4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A4C
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A4C#FFFFFF#000000##FFFFFF
##227A4C1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797049
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227a4c;
/* rgb */ color: rgb(34, 122, 76);
/* oklch */ color: oklch(51.6% 0.110 155.9);
Tailwind
colors: {
  custom: {
    50: '#6aa17e',
    500: '#227a4c',
    950: '#000000',
  },
}
SCSS
$custom: #227a4c;
$custom-light: #6aa17e;
$custom-dark: #000000;
JSON
{
  "hex": "#227a4c",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 76
  },
  "hsl": {
    "h": 148.636,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51596,
    "c": 0.11004,
    "h": 155.9
  },
  "luminance": 0.14781
}

Semantic roles & 50–950 ramp

primary
#227A4C
secondary
#AD4B7E
accent
#4897E0
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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