#227A41#227A41

#227A41 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.4% C 0.121 H 151.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#227A41
RGBrgb(34, 122, 65)
HSLhsl(141, 56%, 31%)
HSVhsv(141, 72%, 48%)
CMYKcmyk(72.1%, 0%, 46.7%, 52.2%)
CIE-LABlab(45.14, -39.29, 23.89)
CIE-LCHlch(45.14, 45.98, 148.70°)
OKLaboklab(51.37% -0.1058 0.0587)
OKLCHoklch(51.37% 0.121 151)
XYZxyz(8.5727, 14.6399, 7.3740)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A41 #7A225B
analogous
#2F7A22 #227A41 #227A6D
triadic
#227A41 #41227A #7A4122
tetradic
#227A41 #222F7A #7A225B #7A6D22
square
#227A41 #222F7A #7A225B #7A6D22
split-complementary
#227A41 #6D227A #7A222F
monochromatic
#071A0E #154A27 #227A41 #2FAA5A #4ACD78

Accessibility & contrast

On white

5.35
#227A41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#227A41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A41
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A41#FFFFFF#000000##FFFFFF
##227A411.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F3D
Deuteranopia (green-blind)
#706845
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227a41;
/* rgb */ color: rgb(34, 122, 65);
/* oklch */ color: oklch(51.4% 0.121 151.0);
Tailwind
colors: {
  custom: {
    50: '#6aa176',
    500: '#227a41',
    950: '#000000',
  },
}
SCSS
$custom: #227a41;
$custom-light: #6aa176;
$custom-dark: #000000;
JSON
{
  "hex": "#227a41",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 65
  },
  "hsl": {
    "h": 141.136,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51373,
    "c": 0.12103,
    "h": 151
  },
  "luminance": 0.14641
}

Semantic roles & 50–950 ramp

primary
#227A41
secondary
#AD4B8A
accent
#48AAE0
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227A41

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

Preview Lab → · Contrast checker → · Palette generator →

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