#227D37#227D37

#227D37 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.135 H 147.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#227D37
RGBrgb(34, 125, 55)
HSLhsl(134, 57%, 31%)
HSVhsv(134, 73%, 49%)
CMYKcmyk(72.8%, 0%, 56%, 51%)
CIE-LABlab(46.02, -42.14, 30.38)
CIE-LCHlch(46.02, 51.94, 144.21°)
OKLaboklab(52.05% -0.1135 0.0728)
OKLCHoklch(52.05% 0.135 147.3)
XYZxyz(8.6823, 15.2822, 6.1059)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D37 #7D2268
analogous
#3A7D22 #227D37 #227D64
triadic
#227D37 #37227D #7D3722
tetradic
#227D37 #223A7D #7D2268 #7D6422
square
#227D37 #223A7D #7D2268 #7D6422
split-complementary
#227D37 #64227D #7D223A
monochromatic
#081D0D #154D22 #227D37 #2FAD4C #4BCE69

Accessibility & contrast

On white

5.18
#227D37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#227D37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D37
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D37#FFFFFF#000000##FFFFFF
##227D371.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7231
Deuteranopia (green-blind)
#746A3C
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227d37;
/* rgb */ color: rgb(34, 125, 55);
/* oklch */ color: oklch(52.1% 0.135 147.3);
Tailwind
colors: {
  custom: {
    50: '#6ba470',
    500: '#227d37',
    950: '#000000',
  },
}
SCSS
$custom: #227d37;
$custom-light: #6ba470;
$custom-dark: #000000;
JSON
{
  "hex": "#227d37",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 55
  },
  "hsl": {
    "h": 133.846,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52053,
    "c": 0.13489,
    "h": 147.3
  },
  "luminance": 0.15283
}

Semantic roles & 50–950 ramp

primary
#227D37
secondary
#B04B98
accent
#47BDE0
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227D37

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

Preview Lab → · Contrast checker → · Palette generator →

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