#227B36#227B36

#227B36 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.133 H 147.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#227B36
RGBrgb(34, 123, 54)
HSLhsl(133, 57%, 31%)
HSVhsv(133, 72%, 48%)
CMYKcmyk(72.4%, 0%, 56.1%, 51.8%)
CIE-LABlab(45.32, -41.52, 30.05)
CIE-LCHlch(45.32, 51.26, 144.10°)
OKLaboklab(51.47% -0.1119 0.072)
OKLCHoklch(51.47% 0.133 147.2)
XYZxyz(8.4079, 14.7714, 5.8974)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B36 #7B2267
analogous
#3A7B22 #227B36 #227B62
triadic
#227B36 #36227B #7B3622
tetradic
#227B36 #223A7B #7B2267 #7B6222
square
#227B36 #223A7B #7B2267 #7B6222
split-complementary
#227B36 #62227B #7B223A
monochromatic
#071B0C #154B21 #227B36 #2FAB4B #4ACD68

Accessibility & contrast

On white

5.31
#227B36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#227B36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B36
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B36#FFFFFF#000000##FFFFFF
##227B361.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7030
Deuteranopia (green-blind)
#72683B
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227b36;
/* rgb */ color: rgb(34, 123, 54);
/* oklch */ color: oklch(51.5% 0.133 147.2);
Tailwind
colors: {
  custom: {
    50: '#6aa26f',
    500: '#227b36',
    950: '#000000',
  },
}
SCSS
$custom: #227b36;
$custom-light: #6aa26f;
$custom-dark: #000000;
JSON
{
  "hex": "#227b36",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 54
  },
  "hsl": {
    "h": 133.483,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51471,
    "c": 0.13309,
    "h": 147.2
  },
  "luminance": 0.14772
}

Semantic roles & 50–950 ramp

primary
#227B36
secondary
#AE4B98
accent
#48BEE0
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227B36

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

Preview Lab → · Contrast checker → · Palette generator →

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