#227140#227140

#227140 is a mid, moderate green. Relative luminance 0.125; OKLCH L 48.8% C 0.109 H 152.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#227140
RGBrgb(34, 113, 64)
HSLhsl(143, 54%, 29%)
HSVhsv(143, 70%, 44%)
CMYKcmyk(69.9%, 0%, 43.4%, 55.7%)
CIE-LABlab(42.03, -35.77, 20.43)
CIE-LCHlch(42.03, 41.19, 150.27°)
OKLaboklab(48.81% -0.0965 0.0506)
OKLCHoklch(48.81% 0.109 152.3)
XYZxyz(7.4896, 12.5197, 6.8713)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227140 #712253
analogous
#2C7122 #227140 #227168
triadic
#227140 #402271 #714022
tetradic
#227140 #222C71 #712253 #716822
square
#227140 #222C71 #712253 #716822
split-complementary
#227140 #682271 #71222C
monochromatic
#07180D #144225 #227140 #30A05B #46C777

Accessibility & contrast

On white

5.99
#227140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#227140 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227140
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227140#FFFFFF#000000##FFFFFF
##2271401.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71673D
Deuteranopia (green-blind)
#676043
Tritanopia (blue-blind)
#006F65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #227140;
/* rgb */ color: rgb(34, 113, 64);
/* oklch */ color: oklch(48.8% 0.109 152.3);
Tailwind
colors: {
  custom: {
    50: '#689a75',
    500: '#227140',
    950: '#000000',
  },
}
SCSS
$custom: #227140;
$custom-light: #689a75;
$custom-dark: #000000;
JSON
{
  "hex": "#227140",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 64
  },
  "hsl": {
    "h": 142.785,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48806,
    "c": 0.10902,
    "h": 152.3
  },
  "luminance": 0.12521
}

Semantic roles & 50–950 ramp

primary
#227140
secondary
#A44A82
accent
#4BA6DD
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #227140

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

Preview Lab → · Contrast checker → · Palette generator →

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