#227F32#227F32

#227F32 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.142 H 145.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#227F32
RGBrgb(34, 127, 50)
HSLhsl(130, 58%, 32%)
HSVhsv(130, 73%, 50%)
CMYKcmyk(73.2%, 0%, 60.6%, 50.2%)
CIE-LABlab(46.64, -43.61, 33.66)
CIE-LCHlch(46.64, 55.09, 142.33°)
OKLaboklab(52.55% -0.1177 0.0796)
OKLCHoklch(52.55% 0.142 145.9)
XYZxyz(8.8242, 15.7481, 5.5916)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F32 #7F226F
analogous
#417F22 #227F32 #227F61
triadic
#227F32 #32227F #7F3222
tetradic
#227F32 #22417F #7F226F #7F6122
square
#227F32 #22417F #7F226F #7F6122
split-complementary
#227F32 #61227F #7F2241
monochromatic
#081E0C #154F1F #227F32 #2FAF45 #4CCF63

Accessibility & contrast

On white

5.06
#227F32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#227F32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F32
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F32#FFFFFF#000000##FFFFFF
##227F321.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81732A
Deuteranopia (green-blind)
#766C38
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227f32;
/* rgb */ color: rgb(34, 127, 50);
/* oklch */ color: oklch(52.5% 0.142 145.9);
Tailwind
colors: {
  custom: {
    50: '#6ca56c',
    500: '#227f32',
    950: '#000000',
  },
}
SCSS
$custom: #227f32;
$custom-light: #6ca56c;
$custom-dark: #000000;
JSON
{
  "hex": "#227f32",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 50
  },
  "hsl": {
    "h": 130.323,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5255,
    "c": 0.14207,
    "h": 145.9
  },
  "luminance": 0.15749
}

Semantic roles & 50–950 ramp

primary
#227F32
secondary
#B24BA0
accent
#47C6E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #227F32

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

Preview Lab → · Contrast checker → · Palette generator →

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