#227C3A#227C3A

#227C3A is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.131 H 148.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#227C3A
RGBrgb(34, 124, 58)
HSLhsl(136, 57%, 31%)
HSVhsv(136, 73%, 49%)
CMYKcmyk(72.6%, 0%, 53.2%, 51.4%)
CIE-LABlab(45.72, -41.28, 28.43)
CIE-LCHlch(45.72, 50.12, 145.45°)
OKLaboklab(51.82% -0.1112 0.0687)
OKLCHoklch(51.82% 0.131 148.3)
XYZxyz(8.6304, 15.0599, 6.4542)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C3A #7C2264
analogous
#377C22 #227C3A #227C67
triadic
#227C3A #3A227C #7C3A22
tetradic
#227C3A #22377C #7C2264 #7C6722
square
#227C3A #22377C #7C2264 #7C6722
split-complementary
#227C3A #67227C #7C2237
monochromatic
#081C0D #154C24 #227C3A #2FAC50 #4BCE6E

Accessibility & contrast

On white

5.23
#227C3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#227C3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C3A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C3A#FFFFFF#000000##FFFFFF
##227C3A1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7134
Deuteranopia (green-blind)
#72693F
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227c3a;
/* rgb */ color: rgb(34, 124, 58);
/* oklch */ color: oklch(51.8% 0.131 148.3);
Tailwind
colors: {
  custom: {
    50: '#6ba372',
    500: '#227c3a',
    950: '#000000',
  },
}
SCSS
$custom: #227c3a;
$custom-light: #6ba372;
$custom-dark: #000000;
JSON
{
  "hex": "#227c3a",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 58
  },
  "hsl": {
    "h": 136,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51817,
    "c": 0.13069,
    "h": 148.3
  },
  "luminance": 0.15061
}

Semantic roles & 50–950 ramp

primary
#227C3A
secondary
#AF4B94
accent
#48B8E0
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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