#227A34#227A34

#227A34 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.134 H 146.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#227A34
RGBrgb(34, 122, 52)
HSLhsl(132, 56%, 31%)
HSVhsv(132, 72%, 48%)
CMYKcmyk(72.1%, 0%, 57.4%, 52.2%)
CIE-LABlab(44.95, -41.44, 30.65)
CIE-LCHlch(44.95, 51.54, 143.51°)
OKLaboklab(51.16% -0.1117 0.0732)
OKLCHoklch(51.16% 0.134 146.8)
XYZxyz(8.2385, 14.5062, 5.6139)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A34 #7A2268
analogous
#3C7A22 #227A34 #227A60
triadic
#227A34 #34227A #7A3422
tetradic
#227A34 #223C7A #7A2268 #7A6022
square
#227A34 #223C7A #7A2268 #7A6022
split-complementary
#227A34 #60227A #7A223C
monochromatic
#071A0B #154A20 #227A34 #2FAA48 #4ACD65

Accessibility & contrast

On white

5.38
#227A34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#227A34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A34
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A34#FFFFFF#000000##FFFFFF
##227A341.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2D
Deuteranopia (green-blind)
#716739
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227a34;
/* rgb */ color: rgb(34, 122, 52);
/* oklch */ color: oklch(51.2% 0.134 146.8);
Tailwind
colors: {
  custom: {
    50: '#6aa16d',
    500: '#227a34',
    950: '#000000',
  },
}
SCSS
$custom: #227a34;
$custom-light: #6aa16d;
$custom-dark: #000000;
JSON
{
  "hex": "#227a34",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 52
  },
  "hsl": {
    "h": 132.273,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51158,
    "c": 0.13358,
    "h": 146.8
  },
  "luminance": 0.14507
}

Semantic roles & 50–950 ramp

primary
#227A34
secondary
#AD4B99
accent
#48C1E0
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227A34

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

Preview Lab → · Contrast checker → · Palette generator →

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