#227F34#227F34

#227F34 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.140 H 146.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#227F34
RGBrgb(34, 127, 52)
HSLhsl(132, 58%, 32%)
HSVhsv(132, 73%, 50%)
CMYKcmyk(73.2%, 0%, 59.1%, 50.2%)
CIE-LABlab(46.67, -43.33, 32.69)
CIE-LCHlch(46.67, 54.28, 142.97°)
OKLaboklab(52.58% -0.1168 0.0777)
OKLCHoklch(52.58% 0.14 146.4)
XYZxyz(8.8683, 15.7658, 5.8239)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F34 #7F226D
analogous
#3F7F22 #227F34 #227F63
triadic
#227F34 #34227F #7F3422
tetradic
#227F34 #223F7F #7F226D #7F6322
square
#227F34 #223F7F #7F226D #7F6322
split-complementary
#227F34 #63227F #7F223F
monochromatic
#081E0C #154F20 #227F34 #2FAF48 #4CCF66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227F34#FFFFFF#000000##FFFFFF
##227F341.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)
#81732D
Deuteranopia (green-blind)
#766C3A
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227f34;
/* rgb */ color: rgb(34, 127, 52);
/* oklch */ color: oklch(52.6% 0.140 146.4);
Tailwind
colors: {
  custom: {
    50: '#6ca56e',
    500: '#227f34',
    950: '#000000',
  },
}
SCSS
$custom: #227f34;
$custom-light: #6ca56e;
$custom-dark: #000000;
JSON
{
  "hex": "#227f34",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 52
  },
  "hsl": {
    "h": 131.613,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52577,
    "c": 0.14031,
    "h": 146.4
  },
  "luminance": 0.15767
}

Semantic roles & 50–950 ramp

primary
#227F34
secondary
#B24B9E
accent
#47C3E1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #227F34

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

Preview Lab → · Contrast checker → · Palette generator →

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