#227D3B#227D3B

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

Color values

HEX#227D3B
RGBrgb(34, 125, 59)
HSLhsl(136, 57%, 31%)
HSVhsv(136, 73%, 49%)
CMYKcmyk(72.8%, 0%, 52.8%, 51%)
CIE-LABlab(46.07, -41.51, 28.33)
CIE-LCHlch(46.07, 50.26, 145.69°)
OKLaboklab(52.12% -0.1118 0.0685)
OKLCHoklch(52.12% 0.131 148.5)
XYZxyz(8.7820, 15.3221, 6.6315)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D3B #7D2264
analogous
#367D22 #227D3B #227D68
triadic
#227D3B #3B227D #7D3B22
tetradic
#227D3B #22367D #7D2264 #7D6822
square
#227D3B #22367D #7D2264 #7D6822
split-complementary
#227D3B #68227D #7D2236
monochromatic
#081D0E #154D24 #227D3B #2FAD52 #4BCE6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227D3B#FFFFFF#000000##FFFFFF
##227D3B1.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)
#7E7235
Deuteranopia (green-blind)
#736A40
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227d3b;
/* rgb */ color: rgb(34, 125, 59);
/* oklch */ color: oklch(52.1% 0.131 148.5);
Tailwind
colors: {
  custom: {
    50: '#6ba372',
    500: '#227d3b',
    950: '#000000',
  },
}
SCSS
$custom: #227d3b;
$custom-light: #6ba372;
$custom-dark: #000000;
JSON
{
  "hex": "#227d3b",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 59
  },
  "hsl": {
    "h": 136.484,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52116,
    "c": 0.13111,
    "h": 148.5
  },
  "luminance": 0.15323
}

Semantic roles & 50–950 ramp

primary
#227D3B
secondary
#B04B94
accent
#47B6E0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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