#227D3D#227D3D

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

Color values

HEX#227D3D
RGBrgb(34, 125, 61)
HSLhsl(138, 57%, 31%)
HSVhsv(138, 73%, 49%)
CMYKcmyk(72.8%, 0%, 51.2%, 51%)
CIE-LABlab(46.10, -41.18, 27.30)
CIE-LCHlch(46.10, 49.41, 146.46°)
OKLaboklab(52.15% -0.1109 0.0663)
OKLCHoklch(52.15% 0.129 149.1)
XYZxyz(8.8349, 15.3433, 6.9099)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D3D #7D2262
analogous
#347D22 #227D3D #227D6A
triadic
#227D3D #3D227D #7D3D22
tetradic
#227D3D #22347D #7D2262 #7D6A22
square
#227D3D #22347D #7D2262 #7D6A22
split-complementary
#227D3D #6A227D #7D2234
monochromatic
#081D0E #154D26 #227D3D #2FAD54 #4BCE72

Accessibility & contrast

On white

5.16
#227D3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#227D3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D3D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D3D#FFFFFF#000000##FFFFFF
##227D3D1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7238
Deuteranopia (green-blind)
#736A42
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227d3d;
/* rgb */ color: rgb(34, 125, 61);
/* oklch */ color: oklch(52.1% 0.129 149.1);
Tailwind
colors: {
  custom: {
    50: '#6ba374',
    500: '#227d3d',
    950: '#000000',
  },
}
SCSS
$custom: #227d3d;
$custom-light: #6ba374;
$custom-dark: #000000;
JSON
{
  "hex": "#227d3d",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 61
  },
  "hsl": {
    "h": 137.802,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52148,
    "c": 0.12919,
    "h": 149.1
  },
  "luminance": 0.15344
}

Semantic roles & 50–950 ramp

primary
#227D3D
secondary
#B04B92
accent
#47B3E0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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