#227A3A#227A3A

#227A3A is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.128 H 148.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#227A3A
RGBrgb(34, 122, 58)
HSLhsl(136, 56%, 31%)
HSVhsv(136, 72%, 48%)
CMYKcmyk(72.1%, 0%, 52.5%, 52.2%)
CIE-LABlab(45.03, -40.50, 27.58)
CIE-LCHlch(45.03, 49.00, 145.75°)
OKLaboklab(51.25% -0.1091 0.0668)
OKLCHoklch(51.25% 0.128 148.5)
XYZxyz(8.3823, 14.5637, 6.3715)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A3A #7A2262
analogous
#367A22 #227A3A #227A66
triadic
#227A3A #3A227A #7A3A22
tetradic
#227A3A #22367A #7A2262 #7A6622
square
#227A3A #22367A #7A2262 #7A6622
split-complementary
#227A3A #66227A #7A2236
monochromatic
#071A0C #154A23 #227A3A #2FAA51 #4ACD6E

Accessibility & contrast

On white

5.37
#227A3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#227A3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A3A
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A3A#FFFFFF#000000##FFFFFF
##227A3A1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F35
Deuteranopia (green-blind)
#71683F
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227a3a;
/* rgb */ color: rgb(34, 122, 58);
/* oklch */ color: oklch(51.2% 0.128 148.5);
Tailwind
colors: {
  custom: {
    50: '#6aa171',
    500: '#227a3a',
    950: '#000000',
  },
}
SCSS
$custom: #227a3a;
$custom-light: #6aa171;
$custom-dark: #000000;
JSON
{
  "hex": "#227a3a",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 58
  },
  "hsl": {
    "h": 136.364,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5125,
    "c": 0.12792,
    "h": 148.5
  },
  "luminance": 0.14565
}

Semantic roles & 50–950 ramp

primary
#227A3A
secondary
#AD4B92
accent
#48B6E0
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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