#227442#227442

#227442 is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.7% C 0.111 H 152.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#227442
RGBrgb(34, 116, 66)
HSLhsl(143, 55%, 29%)
HSVhsv(143, 71%, 45%)
CMYKcmyk(70.7%, 0%, 43.1%, 54.5%)
CIE-LABlab(43.10, -36.64, 20.68)
CIE-LCHlch(43.10, 42.07, 150.56°)
OKLaboklab(49.7% -0.0989 0.0513)
OKLCHoklch(49.7% 0.111 152.6)
XYZxyz(7.8878, 13.2234, 7.2899)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227442 #742254
analogous
#2B7422 #227442 #22746B
triadic
#227442 #422274 #744222
tetradic
#227442 #222B74 #742254 #746B22
square
#227442 #222B74 #742254 #746B22
split-complementary
#227442 #6B2274 #74222B
monochromatic
#07180D #144527 #227442 #30A35D #47C97A

Accessibility & contrast

On white

5.76
#227442 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#227442 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227442
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227442#FFFFFF#000000##FFFFFF
##2274421.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746A3E
Deuteranopia (green-blind)
#6A6345
Tritanopia (blue-blind)
#007268
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #227442;
/* rgb */ color: rgb(34, 116, 66);
/* oklch */ color: oklch(49.7% 0.111 152.6);
Tailwind
colors: {
  custom: {
    50: '#689d77',
    500: '#227442',
    950: '#000000',
  },
}
SCSS
$custom: #227442;
$custom-light: #689d77;
$custom-dark: #000000;
JSON
{
  "hex": "#227442",
  "rgb": {
    "r": 34,
    "g": 116,
    "b": 66
  },
  "hsl": {
    "h": 143.415,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49697,
    "c": 0.11137,
    "h": 152.6
  },
  "luminance": 0.13224
}

Semantic roles & 50–950 ramp

primary
#227442
secondary
#A74B83
accent
#4AA4DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #227442

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

Preview Lab → · Contrast checker → · Palette generator →

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