#227B2D#227B2D

#227B2D is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.141 H 145.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#227B2D
RGBrgb(34, 123, 45)
HSLhsl(127, 57%, 31%)
HSVhsv(127, 72%, 48%)
CMYKcmyk(72.4%, 0%, 63.4%, 51.8%)
CIE-LABlab(45.21, -42.77, 34.47)
CIE-LCHlch(45.21, 54.93, 141.14°)
OKLaboklab(51.35% -0.1156 0.0809)
OKLCHoklch(51.35% 0.141 145)
XYZxyz(8.2158, 14.6946, 4.8855)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B2D #7B2270
analogous
#437B22 #227B2D #227B59
triadic
#227B2D #2D227B #7B2D22
tetradic
#227B2D #22437B #7B2270 #7B5922
square
#227B2D #22437B #7B2270 #7B5922
split-complementary
#227B2D #59227B #7B2243
monochromatic
#071B0A #154B1B #227B2D #2FAB3F #4ACD5A

Accessibility & contrast

On white

5.33
#227B2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#227B2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B2D
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B2D#FFFFFF#000000##FFFFFF
##227B2D1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F24
Deuteranopia (green-blind)
#736834
Tritanopia (blue-blind)
#01786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227b2d;
/* rgb */ color: rgb(34, 123, 45);
/* oklch */ color: oklch(51.3% 0.141 145.0);
Tailwind
colors: {
  custom: {
    50: '#6ba269',
    500: '#227b2d',
    950: '#000000',
  },
}
SCSS
$custom: #227b2d;
$custom-light: #6ba269;
$custom-dark: #000000;
JSON
{
  "hex": "#227b2d",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 127.416,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51349,
    "c": 0.1411,
    "h": 145
  },
  "luminance": 0.14695
}

Semantic roles & 50–950 ramp

primary
#227B2D
secondary
#AE4BA2
accent
#48CDE0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #227B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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