#227C45#227C45

#227C45 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.0% C 0.120 H 152.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#227C45
RGBrgb(34, 124, 69)
HSLhsl(143, 57%, 31%)
HSVhsv(143, 73%, 49%)
CMYKcmyk(72.6%, 0%, 44.4%, 51.4%)
CIE-LABlab(45.89, -39.35, 22.62)
CIE-LCHlch(45.89, 45.39, 150.11°)
OKLaboklab(52.01% -0.106 0.0559)
OKLCHoklch(52.01% 0.12 152.2)
XYZxyz(8.9408, 15.1841, 8.0887)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C45 #7C2259
analogous
#2C7C22 #227C45 #227C72
triadic
#227C45 #45227C #7C4522
tetradic
#227C45 #222C7C #7C2259 #7C7222
square
#227C45 #222C7C #7C2259 #7C7222
split-complementary
#227C45 #72227C #7C222C
monochromatic
#081C10 #154C2A #227C45 #2FAC60 #4BCE7E

Accessibility & contrast

On white

5.20
#227C45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#227C45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C45
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C45#FFFFFF#000000##FFFFFF
##227C451.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7141
Deuteranopia (green-blind)
#716A49
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227c45;
/* rgb */ color: rgb(34, 124, 69);
/* oklch */ color: oklch(52.0% 0.120 152.2);
Tailwind
colors: {
  custom: {
    50: '#6aa379',
    500: '#227c45',
    950: '#000000',
  },
}
SCSS
$custom: #227c45;
$custom-light: #6aa379;
$custom-dark: #000000;
JSON
{
  "hex": "#227c45",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 69
  },
  "hsl": {
    "h": 143.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.11989,
    "h": 152.2
  },
  "luminance": 0.15185
}

Semantic roles & 50–950 ramp

primary
#227C45
secondary
#AF4B88
accent
#48A5E0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227C45

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

Preview Lab → · Contrast checker → · Palette generator →

#227C45 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva