#227245#227245

#227245 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.2% C 0.105 H 154.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#227245
RGBrgb(34, 114, 69)
HSLhsl(146, 54%, 29%)
HSVhsv(146, 70%, 45%)
CMYKcmyk(70.2%, 0%, 39.5%, 55.3%)
CIE-LABlab(42.47, -35.19, 18.13)
CIE-LCHlch(42.47, 39.58, 152.75°)
OKLaboklab(49.19% -0.0952 0.0453)
OKLCHoklch(49.19% 0.105 154.5)
XYZxyz(7.7505, 12.8035, 7.6919)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227245 #72224F
analogous
#277222 #227245 #22726D
triadic
#227245 #452272 #724522
tetradic
#227245 #222772 #72224F #726D22
square
#227245 #222772 #72224F #726D22
split-complementary
#227245 #6D2272 #722227
monochromatic
#07180E #144328 #227245 #30A162 #46C87F

Accessibility & contrast

On white

5.90
#227245 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#227245 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227245
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227245#FFFFFF#000000##FFFFFF
##2272451.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726942
Deuteranopia (green-blind)
#686148
Tritanopia (blue-blind)
#007167
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227245;
/* rgb */ color: rgb(34, 114, 69);
/* oklch */ color: oklch(49.2% 0.105 154.5);
Tailwind
colors: {
  custom: {
    50: '#689b79',
    500: '#227245',
    950: '#000000',
  },
}
SCSS
$custom: #227245;
$custom-light: #689b79;
$custom-dark: #000000;
JSON
{
  "hex": "#227245",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 69
  },
  "hsl": {
    "h": 146.25,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49194,
    "c": 0.1054,
    "h": 154.5
  },
  "luminance": 0.12804
}

Semantic roles & 50–950 ramp

primary
#227245
secondary
#A54B7E
accent
#4A9DDD
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #227245

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

Preview Lab → · Contrast checker → · Palette generator →

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