#227D1D#227D1D

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

Color values

HEX#227D1D
RGBrgb(34, 125, 29)
HSLhsl(117, 62%, 30%)
HSVhsv(117, 77%, 49%)
CMYKcmyk(72.8%, 0%, 76.8%, 51%)
CIE-LABlab(45.76, -45.16, 42.04)
CIE-LCHlch(45.76, 61.70, 137.05°)
OKLaboklab(51.76% -0.1229 0.0949)
OKLCHoklch(51.76% 0.155 142.3)
XYZxyz(8.2146, 15.0951, 3.6429)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D1D #781D7D
analogous
#527D1D #227D1D #1D7D48
triadic
#227D1D #1D227D #7D1D22
tetradic
#227D1D #1D527D #781D7D #7D481D
square
#227D1D #1D527D #781D7D #7D481D
split-complementary
#227D1D #481D7D #7D1D52
monochromatic
#071A06 #144B11 #227D1D #30AF29 #49D341

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227D1D#FFFFFF#000000##FFFFFF
##227D1D1.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)
#80710A
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#07796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227d1d;
/* rgb */ color: rgb(34, 125, 29);
/* oklch */ color: oklch(51.8% 0.155 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ca460',
    500: '#227d1d',
    950: '#000000',
  },
}
SCSS
$custom: #227d1d;
$custom-light: #6ca460;
$custom-dark: #000000;
JSON
{
  "hex": "#227d1d",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 116.875,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51761,
    "c": 0.15527,
    "h": 142.3
  },
  "luminance": 0.15096
}

Semantic roles & 50–950 ramp

primary
#227D1D
secondary
#AB45B1
accent
#42E5DD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #227D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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