#227D2D#227D2D

#227D2D is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.144 H 144.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#227D2D
RGBrgb(34, 125, 45)
HSLhsl(127, 57%, 31%)
HSVhsv(127, 73%, 49%)
CMYKcmyk(72.8%, 0%, 64%, 51%)
CIE-LABlab(45.90, -43.51, 35.25)
CIE-LCHlch(45.90, 56.00, 140.99°)
OKLaboklab(51.92% -0.1176 0.0826)
OKLCHoklch(51.92% 0.144 144.9)
XYZxyz(8.4664, 15.1958, 4.9690)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D2D #7D2272
analogous
#447D22 #227D2D #227D5A
triadic
#227D2D #2D227D #7D2D22
tetradic
#227D2D #22447D #7D2272 #7D5A22
square
#227D2D #22447D #7D2272 #7D5A22
split-complementary
#227D2D #5A227D #7D2244
monochromatic
#081D0A #154D1C #227D2D #2FAD3E #4BCE5B

Accessibility & contrast

On white

5.20
#227D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#227D2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D2D
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D2D#FFFFFF#000000##FFFFFF
##227D2D1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7124
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227d2d;
/* rgb */ color: rgb(34, 125, 45);
/* oklch */ color: oklch(51.9% 0.144 144.9);
Tailwind
colors: {
  custom: {
    50: '#6ba469',
    500: '#227d2d',
    950: '#000000',
  },
}
SCSS
$custom: #227d2d;
$custom-light: #6ba469;
$custom-dark: #000000;
JSON
{
  "hex": "#227d2d",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 127.253,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51919,
    "c": 0.14371,
    "h": 144.9
  },
  "luminance": 0.15197
}

Semantic roles & 50–950 ramp

primary
#227D2D
secondary
#B04BA3
accent
#47CEE0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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