#227B3E#227B3E

#227B3E is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.125 H 149.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#227B3E
RGBrgb(34, 123, 62)
HSLhsl(139, 57%, 31%)
HSVhsv(139, 72%, 48%)
CMYKcmyk(72.4%, 0%, 49.6%, 51.8%)
CIE-LABlab(45.43, -40.22, 25.91)
CIE-LCHlch(45.43, 47.85, 147.21°)
OKLaboklab(51.6% -0.1083 0.0632)
OKLCHoklch(51.6% 0.125 149.7)
XYZxyz(8.6115, 14.8528, 6.9695)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B3E #7B225F
analogous
#337B22 #227B3E #227B6A
triadic
#227B3E #3E227B #7B3E22
tetradic
#227B3E #22337B #7B225F #7B6A22
square
#227B3E #22337B #7B225F #7B6A22
split-complementary
#227B3E #6A227B #7B2233
monochromatic
#071B0E #154B26 #227B3E #2FAB56 #4ACD73

Accessibility & contrast

On white

5.29
#227B3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#227B3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B3E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B3E#FFFFFF#000000##FFFFFF
##227B3E1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227b3e;
/* rgb */ color: rgb(34, 123, 62);
/* oklch */ color: oklch(51.6% 0.125 149.7);
Tailwind
colors: {
  custom: {
    50: '#6aa274',
    500: '#227b3e',
    950: '#000000',
  },
}
SCSS
$custom: #227b3e;
$custom-light: #6aa274;
$custom-dark: #000000;
JSON
{
  "hex": "#227b3e",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 62
  },
  "hsl": {
    "h": 138.876,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51601,
    "c": 0.12542,
    "h": 149.7
  },
  "luminance": 0.14854
}

Semantic roles & 50–950 ramp

primary
#227B3E
secondary
#AE4B8F
accent
#48B0E0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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