#227C2E#227C2E

#227C2E is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.142 H 145.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#227C2E
RGBrgb(34, 124, 46)
HSLhsl(128, 57%, 31%)
HSVhsv(128, 73%, 49%)
CMYKcmyk(72.6%, 0%, 62.9%, 51.4%)
CIE-LABlab(45.57, -43.02, 34.39)
CIE-LCHlch(45.57, 55.08, 141.36°)
OKLaboklab(51.65% -0.1162 0.0808)
OKLCHoklch(51.65% 0.142 145.2)
XYZxyz(8.3599, 14.9517, 5.0296)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C2E #7C2270
analogous
#437C22 #227C2E #227C5B
triadic
#227C2E #2E227C #7C2E22
tetradic
#227C2E #22437C #7C2270 #7C5B22
square
#227C2E #22437C #7C2270 #7C5B22
split-complementary
#227C2E #5B227C #7C2243
monochromatic
#081C0A #154C1C #227C2E #2FAC40 #4BCE5C

Accessibility & contrast

On white

5.26
#227C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#227C2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C2E
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C2E#FFFFFF#000000##FFFFFF
##227C2E1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7026
Deuteranopia (green-blind)
#746934
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227c2e;
/* rgb */ color: rgb(34, 124, 46);
/* oklch */ color: oklch(51.6% 0.142 145.2);
Tailwind
colors: {
  custom: {
    50: '#6ba36a',
    500: '#227c2e',
    950: '#000000',
  },
}
SCSS
$custom: #227c2e;
$custom-light: #6ba36a;
$custom-dark: #000000;
JSON
{
  "hex": "#227c2e",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 128,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51646,
    "c": 0.14156,
    "h": 145.2
  },
  "luminance": 0.14953
}

Semantic roles & 50–950 ramp

primary
#227C2E
secondary
#AF4BA1
accent
#48CCE0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #227C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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