#227C3D#227C3D

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

Color values

HEX#227C3D
RGBrgb(34, 124, 61)
HSLhsl(138, 57%, 31%)
HSVhsv(138, 73%, 49%)
CMYKcmyk(72.6%, 0%, 50.8%, 51.4%)
CIE-LABlab(45.76, -40.79, 26.87)
CIE-LCHlch(45.76, 48.84, 146.63°)
OKLaboklab(51.87% -0.1098 0.0653)
OKLCHoklch(51.87% 0.128 149.3)
XYZxyz(8.7090, 15.0913, 6.8679)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C3D #7C2261
analogous
#347C22 #227C3D #227C6A
triadic
#227C3D #3D227C #7C3D22
tetradic
#227C3D #22347C #7C2261 #7C6A22
square
#227C3D #22347C #7C2261 #7C6A22
split-complementary
#227C3D #6A227C #7C2234
monochromatic
#081C0E #154C25 #227C3D #2FAC55 #4BCE72

Accessibility & contrast

On white

5.23
#227C3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227C3D
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C3D#FFFFFF#000000##FFFFFF
##227C3D1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7138
Deuteranopia (green-blind)
#726942
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227c3d;
/* rgb */ color: rgb(34, 124, 61);
/* oklch */ color: oklch(51.9% 0.128 149.3);
Tailwind
colors: {
  custom: {
    50: '#6aa374',
    500: '#227c3d',
    950: '#000000',
  },
}
SCSS
$custom: #227c3d;
$custom-light: #6aa374;
$custom-dark: #000000;
JSON
{
  "hex": "#227c3d",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 61
  },
  "hsl": {
    "h": 138,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51866,
    "c": 0.1278,
    "h": 149.3
  },
  "luminance": 0.15092
}

Semantic roles & 50–950 ramp

primary
#227C3D
secondary
#AF4B91
accent
#48B2E0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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