#227C1E#227C1E

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

Color values

HEX#227C1E
RGBrgb(34, 124, 30)
HSLhsl(117, 61%, 30%)
HSVhsv(117, 76%, 49%)
CMYKcmyk(72.6%, 0%, 75.8%, 51.4%)
CIE-LABlab(45.43, -44.72, 41.32)
CIE-LCHlch(45.43, 60.89, 137.27°)
OKLaboklab(51.48% -0.1216 0.0935)
OKLCHoklch(51.48% 0.153 142.4)
XYZxyz(8.1012, 14.8482, 3.6671)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C1E #781E7C
analogous
#517C1E #227C1E #1E7C49
triadic
#227C1E #1E227C #7C1E22
tetradic
#227C1E #1E517C #781E7C #7C491E
square
#227C1E #1E517C #781E7C #7C491E
split-complementary
#227C1E #491E7C #7C1E51
monochromatic
#071906 #144B12 #227C1E #30AD2A #49D143

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227C1E#FFFFFF#000000##FFFFFF
##227C1E1.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)
#7F700D
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#08786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227c1e;
/* rgb */ color: rgb(34, 124, 30);
/* oklch */ color: oklch(51.5% 0.153 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ca360',
    500: '#227c1e',
    950: '#000000',
  },
}
SCSS
$custom: #227c1e;
$custom-light: #6ca360;
$custom-dark: #000000;
JSON
{
  "hex": "#227c1e",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 117.447,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51482,
    "c": 0.15345,
    "h": 142.4
  },
  "luminance": 0.14849
}

Semantic roles & 50–950 ramp

primary
#227C1E
secondary
#AB46AF
accent
#44E4DD
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #227C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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