#227C1D#227C1D

#227C1D is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.154 H 142.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#227C1D
RGBrgb(34, 124, 29)
HSLhsl(117, 62%, 30%)
HSVhsv(117, 77%, 49%)
CMYKcmyk(72.6%, 0%, 76.6%, 51.4%)
CIE-LABlab(45.42, -44.81, 41.70)
CIE-LCHlch(45.42, 61.21, 137.06°)
OKLaboklab(51.47% -0.1219 0.0942)
OKLCHoklch(51.47% 0.154 142.3)
XYZxyz(8.0886, 14.8432, 3.6009)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C1D #771D7C
analogous
#527C1D #227C1D #1D7C47
triadic
#227C1D #1D227C #7C1D22
tetradic
#227C1D #1D527C #771D7C #7C471D
square
#227C1D #1D527C #771D7C #7C471D
split-complementary
#227C1D #471D7C #7C1D52
monochromatic
#071906 #144A11 #227C1D #30AE29 #49D341

Accessibility & contrast

On white

5.29
#227C1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#227C1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C1D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C1D#FFFFFF#000000##FFFFFF
##227C1D1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700A
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#08786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227c1d;
/* rgb */ color: rgb(34, 124, 29);
/* oklch */ color: oklch(51.5% 0.154 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ca360',
    500: '#227c1d',
    950: '#000000',
  },
}
SCSS
$custom: #227c1d;
$custom-light: #6ca360;
$custom-dark: #000000;
JSON
{
  "hex": "#227c1d",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 116.842,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.51474,
    "c": 0.15406,
    "h": 142.3
  },
  "luminance": 0.14844
}

Semantic roles & 50–950 ramp

primary
#227C1D
secondary
#AA45B0
accent
#43E5DD
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #227C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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