#227A3C#227A3C

#227A3C is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.126 H 149.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#227A3C
RGBrgb(34, 122, 60)
HSLhsl(138, 56%, 31%)
HSVhsv(138, 72%, 48%)
CMYKcmyk(72.1%, 0%, 50.8%, 52.2%)
CIE-LABlab(45.06, -40.17, 26.53)
CIE-LCHlch(45.06, 48.14, 146.55°)
OKLaboklab(51.28% -0.1082 0.0645)
OKLCHoklch(51.28% 0.126 149.2)
XYZxyz(8.4342, 14.5845, 6.6447)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A3C #7A2260
analogous
#347A22 #227A3C #227A68
triadic
#227A3C #3C227A #7A3C22
tetradic
#227A3C #22347A #7A2260 #7A6822
square
#227A3C #22347A #7A2260 #7A6822
split-complementary
#227A3C #68227A #7A2234
monochromatic
#071A0D #154A24 #227A3C #2FAA54 #4ACD70

Accessibility & contrast

On white

5.36
#227A3C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#227A3C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A3C
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A3C#FFFFFF#000000##FFFFFF
##227A3C1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F37
Deuteranopia (green-blind)
#706840
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227a3c;
/* rgb */ color: rgb(34, 122, 60);
/* oklch */ color: oklch(51.3% 0.126 149.2);
Tailwind
colors: {
  custom: {
    50: '#6aa173',
    500: '#227a3c',
    950: '#000000',
  },
}
SCSS
$custom: #227a3c;
$custom-light: #6aa173;
$custom-dark: #000000;
JSON
{
  "hex": "#227a3c",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 60
  },
  "hsl": {
    "h": 137.727,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51284,
    "c": 0.12597,
    "h": 149.2
  },
  "luminance": 0.14585
}

Semantic roles & 50–950 ramp

primary
#227A3C
secondary
#AD4B90
accent
#48B3E0
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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