#227F36#227F36

#227F36 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.139 H 146.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#227F36
RGBrgb(34, 127, 54)
HSLhsl(133, 58%, 32%)
HSVhsv(133, 73%, 50%)
CMYKcmyk(73.2%, 0%, 57.5%, 50.2%)
CIE-LABlab(46.69, -43.04, 31.70)
CIE-LCHlch(46.69, 53.46, 143.63°)
OKLaboklab(52.61% -0.116 0.0757)
OKLCHoklch(52.61% 0.139 146.9)
XYZxyz(8.9143, 15.7842, 6.0662)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F36 #7F226B
analogous
#3D7F22 #227F36 #227F65
triadic
#227F36 #36227F #7F3622
tetradic
#227F36 #223D7F #7F226B #7F6522
square
#227F36 #223D7F #7F226B #7F6522
split-complementary
#227F36 #65227F #7F223D
monochromatic
#081E0D #154F21 #227F36 #2FAF4B #4CCF68

Accessibility & contrast

On white

5.05
#227F36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#227F36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F36
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F36#FFFFFF#000000##FFFFFF
##227F361.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81732F
Deuteranopia (green-blind)
#766C3C
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227f36;
/* rgb */ color: rgb(34, 127, 54);
/* oklch */ color: oklch(52.6% 0.139 146.9);
Tailwind
colors: {
  custom: {
    50: '#6ba56f',
    500: '#227f36',
    950: '#000000',
  },
}
SCSS
$custom: #227f36;
$custom-light: #6ba56f;
$custom-dark: #000000;
JSON
{
  "hex": "#227f36",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 54
  },
  "hsl": {
    "h": 132.903,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52605,
    "c": 0.1385,
    "h": 146.9
  },
  "luminance": 0.15785
}

Semantic roles & 50–950 ramp

primary
#227F36
secondary
#B24B9C
accent
#47C0E1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #227F36

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

Preview Lab → · Contrast checker → · Palette generator →

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