#227138#227138

#227138 is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.7% C 0.117 H 149.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#227138
RGBrgb(34, 113, 56)
HSLhsl(137, 54%, 29%)
HSVhsv(137, 70%, 44%)
CMYKcmyk(69.9%, 0%, 50.4%, 55.7%)
CIE-LABlab(41.90, -37.24, 24.76)
CIE-LCHlch(41.90, 44.72, 146.38°)
OKLaboklab(48.66% -0.1004 0.0603)
OKLCHoklch(48.66% 0.117 149)
XYZxyz(7.2781, 12.4351, 5.7573)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227138 #71225B
analogous
#347122 #227138 #227160
triadic
#227138 #382271 #713822
tetradic
#227138 #223471 #71225B #716022
square
#227138 #223471 #71225B #716022
split-complementary
#227138 #602271 #712234
monochromatic
#07180C #144221 #227138 #30A04F #46C76A

Accessibility & contrast

On white

6.02
#227138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#227138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227138
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227138#FFFFFF#000000##FFFFFF
##2271381.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726733
Deuteranopia (green-blind)
#68603C
Tritanopia (blue-blind)
#016F64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #227138;
/* rgb */ color: rgb(34, 113, 56);
/* oklch */ color: oklch(48.7% 0.117 149.0);
Tailwind
colors: {
  custom: {
    50: '#689b70',
    500: '#227138',
    950: '#000000',
  },
}
SCSS
$custom: #227138;
$custom-light: #689b70;
$custom-dark: #000000;
JSON
{
  "hex": "#227138",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 56
  },
  "hsl": {
    "h": 136.709,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48655,
    "c": 0.11713,
    "h": 149
  },
  "luminance": 0.12436
}

Semantic roles & 50–950 ramp

primary
#227138
secondary
#A44A8B
accent
#4BB4DD
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #227138

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

Preview Lab → · Contrast checker → · Palette generator →

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