#227C2B#227C2B

#227C2B is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.144 H 144.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#227C2B
RGBrgb(34, 124, 43)
HSLhsl(126, 57%, 31%)
HSVhsv(126, 73%, 49%)
CMYKcmyk(72.6%, 0%, 65.3%, 51.4%)
CIE-LABlab(45.54, -43.39, 35.80)
CIE-LCHlch(45.54, 56.25, 140.48°)
OKLaboklab(51.61% -0.1174 0.0835)
OKLCHoklch(51.61% 0.144 144.6)
XYZxyz(8.3028, 14.9289, 4.7290)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C2B #7C2273
analogous
#467C22 #227C2B #227C58
triadic
#227C2B #2B227C #7C2B22
tetradic
#227C2B #22467C #7C2273 #7C5822
square
#227C2B #22467C #7C2273 #7C5822
split-complementary
#227C2B #58227C #7C2246
monochromatic
#081C0A #154C1A #227C2B #2FAC3C #4BCE58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227C2B#FFFFFF#000000##FFFFFF
##227C2B1.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)
#7E7022
Deuteranopia (green-blind)
#746932
Tritanopia (blue-blind)
#01796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227c2b;
/* rgb */ color: rgb(34, 124, 43);
/* oklch */ color: oklch(51.6% 0.144 144.6);
Tailwind
colors: {
  custom: {
    50: '#6ba368',
    500: '#227c2b',
    950: '#000000',
  },
}
SCSS
$custom: #227c2b;
$custom-light: #6ba368;
$custom-dark: #000000;
JSON
{
  "hex": "#227c2b",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 126,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5161,
    "c": 0.14405,
    "h": 144.6
  },
  "luminance": 0.1493
}

Semantic roles & 50–950 ramp

primary
#227C2B
secondary
#AF4BA5
accent
#48D1E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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