#227D38#227D38

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

Color values

HEX#227D38
RGBrgb(34, 125, 56)
HSLhsl(135, 57%, 31%)
HSVhsv(135, 73%, 49%)
CMYKcmyk(72.8%, 0%, 55.2%, 51%)
CIE-LABlab(46.03, -41.98, 29.87)
CIE-LCHlch(46.03, 51.53, 144.57°)
OKLaboklab(52.07% -0.1131 0.0718)
OKLCHoklch(52.07% 0.134 147.6)
XYZxyz(8.7065, 15.2919, 6.2334)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D38 #7D2267
analogous
#397D22 #227D38 #227D65
triadic
#227D38 #38227D #7D3822
tetradic
#227D38 #22397D #7D2267 #7D6522
square
#227D38 #22397D #7D2267 #7D6522
split-complementary
#227D38 #65227D #7D2239
monochromatic
#081D0D #154D22 #227D38 #2FAD4E #4BCE6B

Accessibility & contrast

On white

5.17
#227D38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227D38
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D38#FFFFFF#000000##FFFFFF
##227D381.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227d38;
/* rgb */ color: rgb(34, 125, 56);
/* oklch */ color: oklch(52.1% 0.134 147.6);
Tailwind
colors: {
  custom: {
    50: '#6ba470',
    500: '#227d38',
    950: '#000000',
  },
}
SCSS
$custom: #227d38;
$custom-light: #6ba470;
$custom-dark: #000000;
JSON
{
  "hex": "#227d38",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 56
  },
  "hsl": {
    "h": 134.505,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52069,
    "c": 0.13395,
    "h": 147.6
  },
  "luminance": 0.15293
}

Semantic roles & 50–950 ramp

primary
#227D38
secondary
#B04B97
accent
#47BBE0
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227D38

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

Preview Lab → · Contrast checker → · Palette generator →

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