#227B1E#227B1E

#227B1E is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.152 H 142.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#227B1E
RGBrgb(34, 123, 30)
HSLhsl(117, 61%, 30%)
HSVhsv(117, 76%, 48%)
CMYKcmyk(72.4%, 0%, 75.6%, 51.8%)
CIE-LABlab(45.08, -44.37, 40.97)
CIE-LCHlch(45.08, 60.39, 137.28°)
OKLaboklab(51.2% -0.1207 0.0928)
OKLCHoklch(51.2% 0.152 142.4)
XYZxyz(7.9765, 14.5989, 3.6255)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B1E #771E7B
analogous
#517B1E #227B1E #1E7B48
triadic
#227B1E #1E227B #7B1E22
tetradic
#227B1E #1E517B #771E7B #7B481E
square
#227B1E #1E517B #771E7B #7B481E
split-complementary
#227B1E #481E7B #7B1E51
monochromatic
#071906 #144A12 #227B1E #30AC2A #49D142

Accessibility & contrast

On white

5.36
#227B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#227B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B1E
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B1E#FFFFFF#000000##FFFFFF
##227B1E1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#746828
Tritanopia (blue-blind)
#087769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227b1e;
/* rgb */ color: rgb(34, 123, 30);
/* oklch */ color: oklch(51.2% 0.152 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ca260',
    500: '#227b1e',
    950: '#000000',
  },
}
SCSS
$custom: #227b1e;
$custom-light: #6ca260;
$custom-dark: #000000;
JSON
{
  "hex": "#227b1e",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 117.419,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.51196,
    "c": 0.15224,
    "h": 142.4
  },
  "luminance": 0.146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #227B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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