#227C3E#227C3E

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

Color values

HEX#227C3E
RGBrgb(34, 124, 62)
HSLhsl(139, 57%, 31%)
HSVhsv(139, 73%, 49%)
CMYKcmyk(72.6%, 0%, 50%, 51.4%)
CIE-LABlab(45.77, -40.62, 26.34)
CIE-LCHlch(45.77, 48.41, 147.03°)
OKLaboklab(51.88% -0.1094 0.0642)
OKLCHoklch(51.88% 0.127 149.6)
XYZxyz(8.7361, 15.1022, 7.0111)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C3E #7C2260
analogous
#337C22 #227C3E #227C6B
triadic
#227C3E #3E227C #7C3E22
tetradic
#227C3E #22337C #7C2260 #7C6B22
square
#227C3E #22337C #7C2260 #7C6B22
split-complementary
#227C3E #6B227C #7C2233
monochromatic
#081C0E #154C26 #227C3E #2FAC56 #4BCE73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227C3E#FFFFFF#000000##FFFFFF
##227C3E1.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)
#7D7139
Deuteranopia (green-blind)
#726942
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227c3e;
/* rgb */ color: rgb(34, 124, 62);
/* oklch */ color: oklch(51.9% 0.127 149.6);
Tailwind
colors: {
  custom: {
    50: '#6aa374',
    500: '#227c3e',
    950: '#000000',
  },
}
SCSS
$custom: #227c3e;
$custom-light: #6aa374;
$custom-dark: #000000;
JSON
{
  "hex": "#227c3e",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 62
  },
  "hsl": {
    "h": 138.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51883,
    "c": 0.12682,
    "h": 149.6
  },
  "luminance": 0.15103
}

Semantic roles & 50–950 ramp

primary
#227C3E
secondary
#AF4B90
accent
#48B1E0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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