#227142#227142

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

Color values

HEX#227142
RGBrgb(34, 113, 66)
HSLhsl(144, 54%, 29%)
HSVhsv(144, 70%, 44%)
CMYKcmyk(69.9%, 0%, 41.6%, 55.7%)
CIE-LABlab(42.07, -35.37, 19.33)
CIE-LCHlch(42.07, 40.31, 151.35°)
OKLaboklab(48.85% -0.0955 0.0481)
OKLCHoklch(48.85% 0.107 153.3)
XYZxyz(7.5475, 12.5429, 7.1765)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227142 #712251
analogous
#2A7122 #227142 #22716A
triadic
#227142 #422271 #714222
tetradic
#227142 #222A71 #712251 #716A22
square
#227142 #222A71 #712251 #716A22
split-complementary
#227142 #6A2271 #71222A
monochromatic
#07180E #144227 #227142 #30A05D #46C77A

Accessibility & contrast

On white

5.98
#227142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#227142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227142
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227142#FFFFFF#000000##FFFFFF
##2271421.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71683F
Deuteranopia (green-blind)
#676045
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #227142;
/* rgb */ color: rgb(34, 113, 66);
/* oklch */ color: oklch(48.8% 0.107 153.3);
Tailwind
colors: {
  custom: {
    50: '#689a77',
    500: '#227142',
    950: '#000000',
  },
}
SCSS
$custom: #227142;
$custom-light: #689a77;
$custom-dark: #000000;
JSON
{
  "hex": "#227142",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 66
  },
  "hsl": {
    "h": 144.304,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48847,
    "c": 0.10697,
    "h": 153.3
  },
  "luminance": 0.12544
}

Semantic roles & 50–950 ramp

primary
#227142
secondary
#A44A80
accent
#4BA2DD
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #227142

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

Preview Lab → · Contrast checker → · Palette generator →

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