#227C3F#227C3F

#227C3F is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.126 H 149.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#227C3F
RGBrgb(34, 124, 63)
HSLhsl(139, 57%, 31%)
HSVhsv(139, 73%, 49%)
CMYKcmyk(72.6%, 0%, 49.2%, 51.4%)
CIE-LABlab(45.79, -40.45, 25.82)
CIE-LCHlch(45.79, 47.98, 147.45°)
OKLaboklab(51.9% -0.1089 0.0631)
OKLCHoklch(51.9% 0.126 149.9)
XYZxyz(8.7638, 15.1133, 7.1570)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C3F #7C225F
analogous
#327C22 #227C3F #227C6C
triadic
#227C3F #3F227C #7C3F22
tetradic
#227C3F #22327C #7C225F #7C6C22
square
#227C3F #22327C #7C225F #7C6C22
split-complementary
#227C3F #6C227C #7C2232
monochromatic
#081C0E #154C27 #227C3F #2FAC57 #4BCE75

Accessibility & contrast

On white

5.22
#227C3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#227C3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C3F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C3F#FFFFFF#000000##FFFFFF
##227C3F1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D713A
Deuteranopia (green-blind)
#726943
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227c3f;
/* rgb */ color: rgb(34, 124, 63);
/* oklch */ color: oklch(51.9% 0.126 149.9);
Tailwind
colors: {
  custom: {
    50: '#6aa375',
    500: '#227c3f',
    950: '#000000',
  },
}
SCSS
$custom: #227c3f;
$custom-light: #6aa375;
$custom-dark: #000000;
JSON
{
  "hex": "#227c3f",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 63
  },
  "hsl": {
    "h": 139.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51901,
    "c": 0.12584,
    "h": 149.9
  },
  "luminance": 0.15114
}

Semantic roles & 50–950 ramp

primary
#227C3F
secondary
#AF4B8F
accent
#48AFE0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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