#227A1E#227A1E

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

Color values

HEX#227A1E
RGBrgb(34, 122, 30)
HSLhsl(117, 61%, 30%)
HSVhsv(117, 75%, 48%)
CMYKcmyk(72.1%, 0%, 75.4%, 52.2%)
CIE-LABlab(44.73, -44.01, 40.61)
CIE-LCHlch(44.73, 59.89, 137.30°)
OKLaboklab(50.91% -0.1197 0.0921)
OKLCHoklch(50.91% 0.151 142.4)
XYZxyz(7.8531, 14.3520, 3.5844)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A1E #761E7A
analogous
#507A1E #227A1E #1E7A48
triadic
#227A1E #1E227A #7A1E22
tetradic
#227A1E #1E507A #761E7A #7A481E
square
#227A1E #1E507A #761E7A #7A481E
split-complementary
#227A1E #481E7A #7A1E50
monochromatic
#071906 #144912 #227A1E #30AB2A #48D042

Accessibility & contrast

On white

5.43
#227A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#227A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A1E
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A1E#FFFFFF#000000##FFFFFF
##227A1E1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0E
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#097668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227a1e;
/* rgb */ color: rgb(34, 122, 30);
/* oklch */ color: oklch(50.9% 0.151 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ba160',
    500: '#227a1e',
    950: '#000000',
  },
}
SCSS
$custom: #227a1e;
$custom-light: #6ba160;
$custom-dark: #000000;
JSON
{
  "hex": "#227a1e",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 117.391,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50908,
    "c": 0.15102,
    "h": 142.4
  },
  "luminance": 0.14353
}

Semantic roles & 50–950 ramp

primary
#227A1E
secondary
#A946AE
accent
#44E4DD
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #227A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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