#227F3E#227F3E

#227F3E is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.131 H 149.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#227F3E
RGBrgb(34, 127, 62)
HSLhsl(138, 58%, 32%)
HSVhsv(138, 73%, 50%)
CMYKcmyk(73.2%, 0%, 51.2%, 50.2%)
CIE-LABlab(46.80, -41.79, 27.63)
CIE-LCHlch(46.80, 50.10, 146.53°)
OKLaboklab(52.73% -0.1125 0.0671)
OKLCHoklch(52.73% 0.131 149.2)
XYZxyz(9.1178, 15.8656, 7.1383)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F3E #7F2263
analogous
#347F22 #227F3E #227F6D
triadic
#227F3E #3E227F #7F3E22
tetradic
#227F3E #22347F #7F2263 #7F6D22
square
#227F3E #22347F #7F2263 #7F6D22
split-complementary
#227F3E #6D227F #7F2234
monochromatic
#081E0F #154F26 #227F3E #2FAF56 #4CCF74

Accessibility & contrast

On white

5.03
#227F3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#227F3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F3E
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F3E#FFFFFF#000000##FFFFFF
##227F3E1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807439
Deuteranopia (green-blind)
#756C43
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227f3e;
/* rgb */ color: rgb(34, 127, 62);
/* oklch */ color: oklch(52.7% 0.131 149.2);
Tailwind
colors: {
  custom: {
    50: '#6ba574',
    500: '#227f3e',
    950: '#000000',
  },
}
SCSS
$custom: #227f3e;
$custom-light: #6ba574;
$custom-dark: #000000;
JSON
{
  "hex": "#227f3e",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 62
  },
  "hsl": {
    "h": 138.065,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52729,
    "c": 0.13099,
    "h": 149.2
  },
  "luminance": 0.15867
}

Semantic roles & 50–950 ramp

primary
#227F3E
secondary
#B24B93
accent
#47B3E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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