#227E1D#227E1D

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

Color values

HEX#227E1D
RGBrgb(34, 126, 29)
HSLhsl(117, 63%, 30%)
HSVhsv(117, 77%, 49%)
CMYKcmyk(73%, 0%, 77%, 50.6%)
CIE-LABlab(46.11, -45.51, 42.39)
CIE-LCHlch(46.11, 62.20, 137.03°)
OKLaboklab(52.05% -0.1238 0.0957)
OKLCHoklch(52.05% 0.156 142.3)
XYZxyz(8.3418, 15.3496, 3.6853)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E1D #791D7E
analogous
#527E1D #227E1D #1D7E48
triadic
#227E1D #1D227E #7E1D22
tetradic
#227E1D #1D527E #791D7E #7E481D
square
#227E1D #1D527E #791D7E #7E481D
split-complementary
#227E1D #481D7E #7E1D52
monochromatic
#071B06 #154C12 #227E1D #2FB028 #49D342

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227E1D#FFFFFF#000000##FFFFFF
##227E1D1.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)
#817209
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#067A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227e1d;
/* rgb */ color: rgb(34, 126, 29);
/* oklch */ color: oklch(52.0% 0.156 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ca460',
    500: '#227e1d',
    950: '#000000',
  },
}
SCSS
$custom: #227e1d;
$custom-light: #6ca460;
$custom-dark: #000000;
JSON
{
  "hex": "#227e1d",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 116.907,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52047,
    "c": 0.15646,
    "h": 142.3
  },
  "luminance": 0.1535
}

Semantic roles & 50–950 ramp

primary
#227E1D
secondary
#AC45B1
accent
#42E6DD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #227E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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