#227D36#227D36

#227D36 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.136 H 147.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#227D36
RGBrgb(34, 125, 54)
HSLhsl(133, 57%, 31%)
HSVhsv(133, 73%, 49%)
CMYKcmyk(72.8%, 0%, 56.8%, 51%)
CIE-LABlab(46.01, -42.29, 30.88)
CIE-LCHlch(46.01, 52.36, 143.86°)
OKLaboklab(52.04% -0.114 0.0739)
OKLCHoklch(52.04% 0.136 147.1)
XYZxyz(8.6585, 15.2727, 5.9809)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D36 #7D2269
analogous
#3B7D22 #227D36 #227D63
triadic
#227D36 #36227D #7D3622
tetradic
#227D36 #223B7D #7D2269 #7D6322
square
#227D36 #223B7D #7D2269 #7D6322
split-complementary
#227D36 #63227D #7D223B
monochromatic
#081D0C #154D21 #227D36 #2FAD4B #4BCE68

Accessibility & contrast

On white

5.18
#227D36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#227D36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D36
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D36#FFFFFF#000000##FFFFFF
##227D361.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722F
Deuteranopia (green-blind)
#746A3B
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227d36;
/* rgb */ color: rgb(34, 125, 54);
/* oklch */ color: oklch(52.0% 0.136 147.1);
Tailwind
colors: {
  custom: {
    50: '#6ba46f',
    500: '#227d36',
    950: '#000000',
  },
}
SCSS
$custom: #227d36;
$custom-light: #6ba46f;
$custom-dark: #000000;
JSON
{
  "hex": "#227d36",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 54
  },
  "hsl": {
    "h": 133.187,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52039,
    "c": 0.13581,
    "h": 147.1
  },
  "luminance": 0.15274
}

Semantic roles & 50–950 ramp

primary
#227D36
secondary
#B04B9A
accent
#47BFE0
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227D36

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

Preview Lab → · Contrast checker → · Palette generator →

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