#227B45#227B45

#227B45 is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.7% C 0.118 H 152.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#227B45
RGBrgb(34, 123, 69)
HSLhsl(144, 57%, 31%)
HSVhsv(144, 72%, 48%)
CMYKcmyk(72.4%, 0%, 43.9%, 51.8%)
CIE-LABlab(45.54, -38.94, 22.18)
CIE-LCHlch(45.54, 44.82, 150.34°)
OKLaboklab(51.73% -0.105 0.0549)
OKLCHoklch(51.73% 0.118 152.4)
XYZxyz(8.8161, 14.9347, 8.0471)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B45 #7B2258
analogous
#2B7B22 #227B45 #227B71
triadic
#227B45 #45227B #7B4522
tetradic
#227B45 #222B7B #7B2258 #7B7122
square
#227B45 #222B7B #7B2258 #7B7122
split-complementary
#227B45 #71227B #7B222B
monochromatic
#071B0F #154B2A #227B45 #2FAB60 #4ACD7E

Accessibility & contrast

On white

5.27
#227B45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#227B45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B45
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B45#FFFFFF#000000##FFFFFF
##227B451.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7041
Deuteranopia (green-blind)
#706949
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227b45;
/* rgb */ color: rgb(34, 123, 69);
/* oklch */ color: oklch(51.7% 0.118 152.4);
Tailwind
colors: {
  custom: {
    50: '#6aa279',
    500: '#227b45',
    950: '#000000',
  },
}
SCSS
$custom: #227b45;
$custom-light: #6aa279;
$custom-dark: #000000;
JSON
{
  "hex": "#227b45",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 69
  },
  "hsl": {
    "h": 143.596,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51731,
    "c": 0.11847,
    "h": 152.4
  },
  "luminance": 0.14936
}

Semantic roles & 50–950 ramp

primary
#227B45
secondary
#AE4B87
accent
#48A4E0
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227B45

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

Preview Lab → · Contrast checker → · Palette generator →

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