#227A3E#227A3E

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

Color values

HEX#227A3E
RGBrgb(34, 122, 62)
HSLhsl(139, 56%, 31%)
HSVhsv(139, 72%, 48%)
CMYKcmyk(72.1%, 0%, 49.2%, 52.2%)
CIE-LABlab(45.09, -39.83, 25.48)
CIE-LCHlch(45.09, 47.28, 147.39°)
OKLaboklab(51.32% -0.1073 0.0622)
OKLCHoklch(51.32% 0.124 149.9)
XYZxyz(8.4880, 14.6060, 6.9284)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A3E #7A225E
analogous
#327A22 #227A3E #227A6A
triadic
#227A3E #3E227A #7A3E22
tetradic
#227A3E #22327A #7A225E #7A6A22
square
#227A3E #22327A #7A225E #7A6A22
split-complementary
#227A3E #6A227A #7A2232
monochromatic
#071A0D #154A26 #227A3E #2FAA56 #4ACD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227A3E#FFFFFF#000000##FFFFFF
##227A3E1.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)
#7B6F39
Deuteranopia (green-blind)
#706842
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227a3e;
/* rgb */ color: rgb(34, 122, 62);
/* oklch */ color: oklch(51.3% 0.124 149.9);
Tailwind
colors: {
  custom: {
    50: '#6aa174',
    500: '#227a3e',
    950: '#000000',
  },
}
SCSS
$custom: #227a3e;
$custom-light: #6aa174;
$custom-dark: #000000;
JSON
{
  "hex": "#227a3e",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 62
  },
  "hsl": {
    "h": 139.091,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51318,
    "c": 0.12401,
    "h": 149.9
  },
  "luminance": 0.14607
}

Semantic roles & 50–950 ramp

primary
#227A3E
secondary
#AD4B8E
accent
#48AFE0
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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