#227342#227342

#227342 is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.4% C 0.110 H 152.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#227342
RGBrgb(34, 115, 66)
HSLhsl(144, 54%, 29%)
HSVhsv(144, 70%, 45%)
CMYKcmyk(70.4%, 0%, 42.6%, 54.9%)
CIE-LABlab(42.75, -36.22, 20.23)
CIE-LCHlch(42.75, 41.49, 150.81°)
OKLaboklab(49.41% -0.0978 0.0502)
OKLCHoklch(49.41% 0.11 152.8)
XYZxyz(7.7731, 12.9941, 7.2517)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227342 #732253
analogous
#2B7322 #227342 #22736B
triadic
#227342 #422273 #734222
tetradic
#227342 #222B73 #732253 #736B22
square
#227342 #222B73 #732253 #736B22
split-complementary
#227342 #6B2273 #73222B
monochromatic
#07180E #144427 #227342 #30A25D #47C97A

Accessibility & contrast

On white

5.83
#227342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#227342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227342
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227342#FFFFFF#000000##FFFFFF
##2273421.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693F
Deuteranopia (green-blind)
#696245
Tritanopia (blue-blind)
#007167
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227342;
/* rgb */ color: rgb(34, 115, 66);
/* oklch */ color: oklch(49.4% 0.110 152.8);
Tailwind
colors: {
  custom: {
    50: '#689c77',
    500: '#227342',
    950: '#000000',
  },
}
SCSS
$custom: #227342;
$custom-light: #689c77;
$custom-dark: #000000;
JSON
{
  "hex": "#227342",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 66
  },
  "hsl": {
    "h": 143.704,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49414,
    "c": 0.10991,
    "h": 152.8
  },
  "luminance": 0.12995
}

Semantic roles & 50–950 ramp

primary
#227342
secondary
#A64B82
accent
#4AA3DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #227342

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

Preview Lab → · Contrast checker → · Palette generator →

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