#227D39#227D39

#227D39 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.133 H 147.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#227D39
RGBrgb(34, 125, 57)
HSLhsl(135, 57%, 31%)
HSVhsv(135, 73%, 49%)
CMYKcmyk(72.8%, 0%, 54.4%, 51%)
CIE-LABlab(46.04, -41.83, 29.36)
CIE-LCHlch(46.04, 51.10, 144.94°)
OKLaboklab(52.08% -0.1127 0.0707)
OKLCHoklch(52.08% 0.133 147.9)
XYZxyz(8.7312, 15.3018, 6.3635)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D39 #7D2266
analogous
#387D22 #227D39 #227D66
triadic
#227D39 #39227D #7D3922
tetradic
#227D39 #22387D #7D2266 #7D6622
square
#227D39 #22387D #7D2266 #7D6622
split-complementary
#227D39 #66227D #7D2238
monochromatic
#081D0D #154D23 #227D39 #2FAD4F #4BCE6C

Accessibility & contrast

On white

5.17
#227D39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#227D39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D39
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D39#FFFFFF#000000##FFFFFF
##227D391.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227d39;
/* rgb */ color: rgb(34, 125, 57);
/* oklch */ color: oklch(52.1% 0.133 147.9);
Tailwind
colors: {
  custom: {
    50: '#6ba371',
    500: '#227d39',
    950: '#000000',
  },
}
SCSS
$custom: #227d39;
$custom-light: #6ba371;
$custom-dark: #000000;
JSON
{
  "hex": "#227d39",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 57
  },
  "hsl": {
    "h": 135.165,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52084,
    "c": 0.13302,
    "h": 147.9
  },
  "luminance": 0.15303
}

Semantic roles & 50–950 ramp

primary
#227D39
secondary
#B04B96
accent
#47BAE0
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227D39

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

Preview Lab → · Contrast checker → · Palette generator →

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