#227E2E#227E2E

#227E2E is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.144 H 145.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#227E2E
RGBrgb(34, 126, 46)
HSLhsl(128, 58%, 31%)
HSVhsv(128, 73%, 49%)
CMYKcmyk(73%, 0%, 63.5%, 50.6%)
CIE-LABlab(46.26, -43.76, 35.18)
CIE-LCHlch(46.26, 56.15, 141.21°)
OKLaboklab(52.22% -0.1182 0.0825)
OKLCHoklch(52.22% 0.144 145.1)
XYZxyz(8.6131, 15.4581, 5.1140)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E2E #7E2272
analogous
#447E22 #227E2E #227E5C
triadic
#227E2E #2E227E #7E2E22
tetradic
#227E2E #22447E #7E2272 #7E5C22
square
#227E2E #22447E #7E2272 #7E5C22
split-complementary
#227E2E #5C227E #7E2244
monochromatic
#081E0B #154E1C #227E2E #2FAE40 #4CCF5D

Accessibility & contrast

On white

5.13
#227E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227E2E
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E2E#FFFFFF#000000##FFFFFF
##227E2E1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807225
Deuteranopia (green-blind)
#756B35
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227e2e;
/* rgb */ color: rgb(34, 126, 46);
/* oklch */ color: oklch(52.2% 0.144 145.1);
Tailwind
colors: {
  custom: {
    50: '#6ca46a',
    500: '#227e2e',
    950: '#000000',
  },
}
SCSS
$custom: #227e2e;
$custom-light: #6ca46a;
$custom-dark: #000000;
JSON
{
  "hex": "#227e2e",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 127.826,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52215,
    "c": 0.14417,
    "h": 145.1
  },
  "luminance": 0.15459
}

Semantic roles & 50–950 ramp

primary
#227E2E
secondary
#B14BA3
accent
#47CDE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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