#227F45#227F45

#227F45 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.9% C 0.124 H 151.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#227F45
RGBrgb(34, 127, 69)
HSLhsl(143, 58%, 32%)
HSVhsv(143, 73%, 50%)
CMYKcmyk(73.2%, 0%, 45.7%, 50.2%)
CIE-LABlab(46.91, -40.56, 23.94)
CIE-LCHlch(46.91, 47.10, 149.44°)
OKLaboklab(52.85% -0.1092 0.059)
OKLCHoklch(52.85% 0.124 151.6)
XYZxyz(9.3224, 15.9474, 8.2159)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F45 #7F225C
analogous
#2D7F22 #227F45 #227F74
triadic
#227F45 #45227F #7F4522
tetradic
#227F45 #222D7F #7F225C #7F7422
square
#227F45 #222D7F #7F225C #7F7422
split-complementary
#227F45 #74227F #7F222D
monochromatic
#081E11 #154F2B #227F45 #2FAF5F #4CCF7E

Accessibility & contrast

On white

5.01
#227F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#227F45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F45
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F45#FFFFFF#000000##FFFFFF
##227F451.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7441
Deuteranopia (green-blind)
#746C49
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227f45;
/* rgb */ color: rgb(34, 127, 69);
/* oklch */ color: oklch(52.9% 0.124 151.6);
Tailwind
colors: {
  custom: {
    50: '#6ba579',
    500: '#227f45',
    950: '#000000',
  },
}
SCSS
$custom: #227f45;
$custom-light: #6ba579;
$custom-dark: #000000;
JSON
{
  "hex": "#227f45",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 69
  },
  "hsl": {
    "h": 142.581,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52853,
    "c": 0.12414,
    "h": 151.6
  },
  "luminance": 0.15948
}

Semantic roles & 50–950 ramp

primary
#227F45
secondary
#B24B8B
accent
#47A7E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227F45

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

Preview Lab → · Contrast checker → · Palette generator →

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