#227239#227239

#227239 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.0% C 0.118 H 149.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#227239
RGBrgb(34, 114, 57)
HSLhsl(137, 54%, 29%)
HSVhsv(137, 70%, 45%)
CMYKcmyk(70.2%, 0%, 50%, 55.3%)
CIE-LABlab(42.26, -37.48, 24.66)
CIE-LCHlch(42.26, 44.86, 146.65°)
OKLaboklab(48.96% -0.101 0.0601)
OKLCHoklch(48.96% 0.118 149.2)
XYZxyz(7.4150, 12.6693, 5.9248)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227239 #72225B
analogous
#337222 #227239 #227261
triadic
#227239 #392272 #723922
tetradic
#227239 #223372 #72225B #726122
square
#227239 #223372 #72225B #726122
split-complementary
#227239 #612272 #722233
monochromatic
#07180C #144321 #227239 #30A151 #46C86C

Accessibility & contrast

On white

5.94
#227239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#227239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227239
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227239#FFFFFF#000000##FFFFFF
##2272391.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736834
Deuteranopia (green-blind)
#69613D
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227239;
/* rgb */ color: rgb(34, 114, 57);
/* oklch */ color: oklch(49.0% 0.118 149.2);
Tailwind
colors: {
  custom: {
    50: '#689b70',
    500: '#227239',
    950: '#000000',
  },
}
SCSS
$custom: #227239;
$custom-light: #689b70;
$custom-dark: #000000;
JSON
{
  "hex": "#227239",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 137.25,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.48958,
    "c": 0.11757,
    "h": 149.2
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

primary
#227239
secondary
#A54B8B
accent
#4AB3DD
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #227239

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

Preview Lab → · Contrast checker → · Palette generator →

#227239 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva