#227742#227742

#227742 is a mid, moderate green. Relative luminance 0.139; OKLCH L 50.5% C 0.116 H 151.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#227742
RGBrgb(34, 119, 66)
HSLhsl(143, 56%, 30%)
HSVhsv(143, 71%, 47%)
CMYKcmyk(71.4%, 0%, 44.5%, 53.3%)
CIE-LABlab(44.13, -37.88, 22.02)
CIE-LCHlch(44.13, 43.82, 149.83°)
OKLaboklab(50.54% -0.1021 0.0544)
OKLCHoklch(50.54% 0.116 151.9)
XYZxyz(8.2392, 13.9262, 7.4070)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227742 #772257
analogous
#2D7722 #227742 #22776C
triadic
#227742 #422277 #774222
tetradic
#227742 #222D77 #772257 #776C22
square
#227742 #222D77 #772257 #776C22
split-complementary
#227742 #6C2277 #77222D
monochromatic
#07180D #144728 #227742 #30A75C #49CB7A

Accessibility & contrast

On white

5.55
#227742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#227742 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227742
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227742#FFFFFF#000000##FFFFFF
##2277421.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776D3E
Deuteranopia (green-blind)
#6D6546
Tritanopia (blue-blind)
#00756A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #227742;
/* rgb */ color: rgb(34, 119, 66);
/* oklch */ color: oklch(50.5% 0.116 151.9);
Tailwind
colors: {
  custom: {
    50: '#699f77',
    500: '#227742',
    950: '#000000',
  },
}
SCSS
$custom: #227742;
$custom-light: #699f77;
$custom-dark: #000000;
JSON
{
  "hex": "#227742",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 66
  },
  "hsl": {
    "h": 142.588,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.50545,
    "c": 0.11574,
    "h": 151.9
  },
  "luminance": 0.13927
}

Semantic roles & 50–950 ramp

primary
#227742
secondary
#AA4B86
accent
#49A6DF
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #227742

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

Preview Lab → · Contrast checker → · Palette generator →

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