#227F37#227F37

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

Color values

HEX#227F37
RGBrgb(34, 127, 55)
HSLhsl(134, 58%, 32%)
HSVhsv(134, 73%, 50%)
CMYKcmyk(73.2%, 0%, 56.7%, 50.2%)
CIE-LABlab(46.70, -42.90, 31.20)
CIE-LCHlch(46.70, 53.04, 143.97°)
OKLaboklab(52.62% -0.1156 0.0746)
OKLCHoklch(52.62% 0.138 147.1)
XYZxyz(8.9380, 15.7937, 6.1911)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F37 #7F226A
analogous
#3C7F22 #227F37 #227F66
triadic
#227F37 #37227F #7F3722
tetradic
#227F37 #223C7F #7F226A #7F6622
square
#227F37 #223C7F #7F226A #7F6622
split-complementary
#227F37 #66227F #7F223C
monochromatic
#081E0D #154F22 #227F37 #2FAF4C #4CCF6A

Accessibility & contrast

On white

5.05
#227F37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#227F37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F37
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F37#FFFFFF#000000##FFFFFF
##227F371.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817330
Deuteranopia (green-blind)
#766C3D
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227f37;
/* rgb */ color: rgb(34, 127, 55);
/* oklch */ color: oklch(52.6% 0.138 147.1);
Tailwind
colors: {
  custom: {
    50: '#6ba570',
    500: '#227f37',
    950: '#000000',
  },
}
SCSS
$custom: #227f37;
$custom-light: #6ba570;
$custom-dark: #000000;
JSON
{
  "hex": "#227f37",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 55
  },
  "hsl": {
    "h": 133.548,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5262,
    "c": 0.13759,
    "h": 147.1
  },
  "luminance": 0.15795
}

Semantic roles & 50–950 ramp

primary
#227F37
secondary
#B24B9A
accent
#47BEE1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #227F37

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

Preview Lab → · Contrast checker → · Palette generator →

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