#227A3F#227A3F

#227A3F is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.123 H 150.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#227A3F
RGBrgb(34, 122, 63)
HSLhsl(140, 56%, 31%)
HSVhsv(140, 72%, 48%)
CMYKcmyk(72.1%, 0%, 48.4%, 52.2%)
CIE-LABlab(45.11, -39.65, 24.95)
CIE-LCHlch(45.11, 46.85, 147.82°)
OKLaboklab(51.34% -0.1068 0.0611)
OKLCHoklch(51.34% 0.123 150.2)
XYZxyz(8.5157, 14.6171, 7.0743)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A3F #7A225D
analogous
#317A22 #227A3F #227A6B
triadic
#227A3F #3F227A #7A3F22
tetradic
#227A3F #22317A #7A225D #7A6B22
square
#227A3F #22317A #7A225D #7A6B22
split-complementary
#227A3F #6B227A #7A2231
monochromatic
#071A0E #154A26 #227A3F #2FAA58 #4ACD75

Accessibility & contrast

On white

5.35
#227A3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#227A3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A3F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A3F#FFFFFF#000000##FFFFFF
##227A3F1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F3A
Deuteranopia (green-blind)
#706843
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227a3f;
/* rgb */ color: rgb(34, 122, 63);
/* oklch */ color: oklch(51.3% 0.123 150.2);
Tailwind
colors: {
  custom: {
    50: '#6aa175',
    500: '#227a3f',
    950: '#000000',
  },
}
SCSS
$custom: #227a3f;
$custom-light: #6aa175;
$custom-dark: #000000;
JSON
{
  "hex": "#227a3f",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 63
  },
  "hsl": {
    "h": 139.773,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51336,
    "c": 0.12302,
    "h": 150.2
  },
  "luminance": 0.14618
}

Semantic roles & 50–950 ramp

primary
#227A3F
secondary
#AD4B8D
accent
#48AEE0
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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