#227F3D#227F3D

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

Color values

HEX#227F3D
RGBrgb(34, 127, 61)
HSLhsl(137, 58%, 32%)
HSVhsv(137, 73%, 50%)
CMYKcmyk(73.2%, 0%, 52%, 50.2%)
CIE-LABlab(46.78, -41.96, 28.14)
CIE-LCHlch(46.78, 50.52, 146.15°)
OKLaboklab(52.71% -0.1129 0.0682)
OKLCHoklch(52.71% 0.132 148.9)
XYZxyz(9.0907, 15.8547, 6.9952)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F3D #7F2264
analogous
#367F22 #227F3D #227F6C
triadic
#227F3D #3D227F #7F3D22
tetradic
#227F3D #22367F #7F2264 #7F6C22
square
#227F3D #22367F #7F2264 #7F6C22
split-complementary
#227F3D #6C227F #7F2236
monochromatic
#081E0F #154F26 #227F3D #2FAF54 #4CCF72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227F3D#FFFFFF#000000##FFFFFF
##227F3D1.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)
#807437
Deuteranopia (green-blind)
#756C42
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227f3d;
/* rgb */ color: rgb(34, 127, 61);
/* oklch */ color: oklch(52.7% 0.132 148.9);
Tailwind
colors: {
  custom: {
    50: '#6ba574',
    500: '#227f3d',
    950: '#000000',
  },
}
SCSS
$custom: #227f3d;
$custom-light: #6ba574;
$custom-dark: #000000;
JSON
{
  "hex": "#227f3d",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 61
  },
  "hsl": {
    "h": 137.419,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52712,
    "c": 0.13195,
    "h": 148.9
  },
  "luminance": 0.15856
}

Semantic roles & 50–950 ramp

primary
#227F3D
secondary
#B24B94
accent
#47B4E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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