#227D1E#227D1E

#227D1E is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.155 H 142.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#227D1E
RGBrgb(34, 125, 30)
HSLhsl(117, 61%, 30%)
HSVhsv(117, 76%, 49%)
CMYKcmyk(72.8%, 0%, 76%, 51%)
CIE-LABlab(45.77, -45.08, 41.67)
CIE-LCHlch(45.77, 61.39, 137.25°)
OKLaboklab(51.77% -0.1226 0.0943)
OKLCHoklch(51.77% 0.155 142.4)
XYZxyz(8.2272, 15.1002, 3.7091)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D1E #791E7D
analogous
#517D1E #227D1E #1E7D4A
triadic
#227D1E #1E227D #7D1E22
tetradic
#227D1E #1E517D #791E7D #7D4A1E
square
#227D1E #1E517D #791E7D #7D4A1E
split-complementary
#227D1E #4A1E7D #7D1E51
monochromatic
#071A06 #154C12 #227D1E #2FAE2A #49D243

Accessibility & contrast

On white

5.22
#227D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#227D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D1E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D1E#FFFFFF#000000##FFFFFF
##227D1E1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#756A28
Tritanopia (blue-blind)
#07796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227d1e;
/* rgb */ color: rgb(34, 125, 30);
/* oklch */ color: oklch(51.8% 0.155 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ca461',
    500: '#227d1e',
    950: '#000000',
  },
}
SCSS
$custom: #227d1e;
$custom-light: #6ca461;
$custom-dark: #000000;
JSON
{
  "hex": "#227d1e",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 117.474,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51769,
    "c": 0.15465,
    "h": 142.4
  },
  "luminance": 0.15101
}

Semantic roles & 50–950 ramp

primary
#227D1E
secondary
#AC46B0
accent
#43E4DE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #227D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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