#227A33#227A33

#227A33 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.135 H 146.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#227A33
RGBrgb(34, 122, 51)
HSLhsl(132, 56%, 31%)
HSVhsv(132, 72%, 48%)
CMYKcmyk(72.1%, 0%, 58.2%, 52.2%)
CIE-LABlab(44.94, -41.58, 31.15)
CIE-LCHlch(44.94, 51.96, 143.16°)
OKLaboklab(51.14% -0.1122 0.0742)
OKLCHoklch(51.14% 0.135 146.5)
XYZxyz(8.2162, 14.4973, 5.4966)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A33 #7A2269
analogous
#3D7A22 #227A33 #227A5F
triadic
#227A33 #33227A #7A3322
tetradic
#227A33 #223D7A #7A2269 #7A5F22
square
#227A33 #223D7A #7A2269 #7A5F22
split-complementary
#227A33 #5F227A #7A223D
monochromatic
#071A0B #154A1F #227A33 #2FAA47 #4ACD63

Accessibility & contrast

On white

5.39
#227A33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227A33
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A33#FFFFFF#000000##FFFFFF
##227A331.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227a33;
/* rgb */ color: rgb(34, 122, 51);
/* oklch */ color: oklch(51.1% 0.135 146.5);
Tailwind
colors: {
  custom: {
    50: '#6aa16d',
    500: '#227a33',
    950: '#000000',
  },
}
SCSS
$custom: #227a33;
$custom-light: #6aa16d;
$custom-dark: #000000;
JSON
{
  "hex": "#227a33",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 51
  },
  "hsl": {
    "h": 131.591,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51143,
    "c": 0.1345,
    "h": 146.5
  },
  "luminance": 0.14498
}

Semantic roles & 50–950 ramp

primary
#227A33
secondary
#AD4B9A
accent
#48C2E0
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227A33

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

Preview Lab → · Contrast checker → · Palette generator →

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