#227E2C#227E2C

#227E2C is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.146 H 144.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#227E2C
RGBrgb(34, 126, 44)
HSLhsl(127, 58%, 31%)
HSVhsv(127, 73%, 49%)
CMYKcmyk(73%, 0%, 65.1%, 50.6%)
CIE-LABlab(46.23, -44.00, 36.11)
CIE-LCHlch(46.23, 56.92, 140.63°)
OKLaboklab(52.19% -0.119 0.0843)
OKLCHoklch(52.19% 0.146 144.7)
XYZxyz(8.5746, 15.4427, 4.9112)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E2C #7E2274
analogous
#467E22 #227E2C #227E5A
triadic
#227E2C #2C227E #7E2C22
tetradic
#227E2C #22467E #7E2274 #7E5A22
square
#227E2C #22467E #7E2274 #7E5A22
split-complementary
#227E2C #5A227E #7E2246
monochromatic
#081E0A #154E1B #227E2C #2FAE3D #4CCF5A

Accessibility & contrast

On white

5.14
#227E2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#227E2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E2C
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E2C#FFFFFF#000000##FFFFFF
##227E2C1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807222
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227e2c;
/* rgb */ color: rgb(34, 126, 44);
/* oklch */ color: oklch(52.2% 0.146 144.7);
Tailwind
colors: {
  custom: {
    50: '#6ca469',
    500: '#227e2c',
    950: '#000000',
  },
}
SCSS
$custom: #227e2c;
$custom-light: #6ca469;
$custom-dark: #000000;
JSON
{
  "hex": "#227e2c",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 44
  },
  "hsl": {
    "h": 126.522,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52192,
    "c": 0.14582,
    "h": 144.7
  },
  "luminance": 0.15444
}

Semantic roles & 50–950 ramp

primary
#227E2C
secondary
#B14BA6
accent
#47D0E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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