#227242#227242

#227242 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.1% C 0.108 H 153.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#227242
RGBrgb(34, 114, 66)
HSLhsl(144, 54%, 29%)
HSVhsv(144, 70%, 45%)
CMYKcmyk(70.2%, 0%, 42.1%, 55.3%)
CIE-LABlab(42.41, -35.80, 19.78)
CIE-LCHlch(42.41, 40.90, 151.08°)
OKLaboklab(49.13% -0.0967 0.0492)
OKLCHoklch(49.13% 0.108 153)
XYZxyz(7.6597, 12.7672, 7.2138)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227242 #722252
analogous
#2A7222 #227242 #22726A
triadic
#227242 #422272 #724222
tetradic
#227242 #222A72 #722252 #726A22
square
#227242 #222A72 #722252 #726A22
split-complementary
#227242 #6A2272 #72222A
monochromatic
#07180E #144327 #227242 #30A15D #46C87A

Accessibility & contrast

On white

5.91
#227242 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#227242 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227242
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227242#FFFFFF#000000##FFFFFF
##2272421.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683F
Deuteranopia (green-blind)
#686145
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227242;
/* rgb */ color: rgb(34, 114, 66);
/* oklch */ color: oklch(49.1% 0.108 153.0);
Tailwind
colors: {
  custom: {
    50: '#689b77',
    500: '#227242',
    950: '#000000',
  },
}
SCSS
$custom: #227242;
$custom-light: #689b77;
$custom-dark: #000000;
JSON
{
  "hex": "#227242",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 66
  },
  "hsl": {
    "h": 144,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49131,
    "c": 0.10845,
    "h": 153
  },
  "luminance": 0.12768
}

Semantic roles & 50–950 ramp

primary
#227242
secondary
#A54B81
accent
#4AA3DD
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #227242

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

Preview Lab → · Contrast checker → · Palette generator →

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