#227D3A#227D3A

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

Color values

HEX#227D3A
RGBrgb(34, 125, 58)
HSLhsl(136, 57%, 31%)
HSVhsv(136, 73%, 49%)
CMYKcmyk(72.8%, 0%, 53.6%, 51%)
CIE-LABlab(46.06, -41.67, 28.85)
CIE-LCHlch(46.06, 50.68, 145.31°)
OKLaboklab(52.1% -0.1122 0.0696)
OKLCHoklch(52.1% 0.132 148.2)
XYZxyz(8.7564, 15.3118, 6.4962)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D3A #7D2265
analogous
#377D22 #227D3A #227D67
triadic
#227D3A #3A227D #7D3A22
tetradic
#227D3A #22377D #7D2265 #7D6722
square
#227D3A #22377D #7D2265 #7D6722
split-complementary
#227D3A #67227D #7D2237
monochromatic
#081D0D #154D24 #227D3A #2FAD50 #4BCE6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227D3A#FFFFFF#000000##FFFFFF
##227D3A1.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)
#7E7234
Deuteranopia (green-blind)
#736A3F
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227d3a;
/* rgb */ color: rgb(34, 125, 58);
/* oklch */ color: oklch(52.1% 0.132 148.2);
Tailwind
colors: {
  custom: {
    50: '#6ba372',
    500: '#227d3a',
    950: '#000000',
  },
}
SCSS
$custom: #227d3a;
$custom-light: #6ba372;
$custom-dark: #000000;
JSON
{
  "hex": "#227d3a",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 58
  },
  "hsl": {
    "h": 135.824,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.521,
    "c": 0.13207,
    "h": 148.2
  },
  "luminance": 0.15313
}

Semantic roles & 50–950 ramp

primary
#227D3A
secondary
#B04B95
accent
#47B8E0
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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