#227B41#227B41

#227B41 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.122 H 150.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#227B41
RGBrgb(34, 123, 65)
HSLhsl(141, 57%, 31%)
HSVhsv(141, 72%, 48%)
CMYKcmyk(72.4%, 0%, 47.2%, 51.8%)
CIE-LABlab(45.48, -39.69, 24.32)
CIE-LCHlch(45.48, 46.55, 148.50°)
OKLaboklab(51.65% -0.1069 0.0597)
OKLCHoklch(51.65% 0.122 150.8)
XYZxyz(8.6961, 14.8867, 7.4151)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B41 #7B225C
analogous
#2F7B22 #227B41 #227B6D
triadic
#227B41 #41227B #7B4122
tetradic
#227B41 #222F7B #7B225C #7B6D22
square
#227B41 #222F7B #7B225C #7B6D22
split-complementary
#227B41 #6D227B #7B222F
monochromatic
#071B0E #154B28 #227B41 #2FAB5A #4ACD78

Accessibility & contrast

On white

5.28
#227B41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#227B41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B41
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B41#FFFFFF#000000##FFFFFF
##227B411.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C703D
Deuteranopia (green-blind)
#716945
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227b41;
/* rgb */ color: rgb(34, 123, 65);
/* oklch */ color: oklch(51.7% 0.122 150.8);
Tailwind
colors: {
  custom: {
    50: '#6aa276',
    500: '#227b41',
    950: '#000000',
  },
}
SCSS
$custom: #227b41;
$custom-light: #6aa276;
$custom-dark: #000000;
JSON
{
  "hex": "#227b41",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 65
  },
  "hsl": {
    "h": 140.899,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51655,
    "c": 0.12245,
    "h": 150.8
  },
  "luminance": 0.14888
}

Semantic roles & 50–950 ramp

primary
#227B41
secondary
#AE4B8B
accent
#48ABE0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227B41

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

Preview Lab → · Contrast checker → · Palette generator →

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