#227D14#227D14

#227D14 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.160 H 141.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#227D14
RGBrgb(34, 125, 20)
HSLhsl(112, 72%, 28%)
HSVhsv(112, 84%, 49%)
CMYKcmyk(72.8%, 0%, 84%, 51%)
CIE-LABlab(45.71, -45.80, 45.07)
CIE-LCHlch(45.71, 64.25, 135.46°)
OKLaboklab(51.7% -0.125 0.0999)
OKLCHoklch(51.7% 0.16 141.4)
XYZxyz(8.1191, 15.0569, 3.1401)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D14 #6F147D
analogous
#567D14 #227D14 #147D3A
triadic
#227D14 #14227D #7D1422
tetradic
#227D14 #14567D #6F147D #7D3A14
square
#227D14 #14567D #6F147D #7D3A14
split-complementary
#227D14 #3A147D #7D1456
monochromatic
#071A04 #14480C #227D14 #30B21C #45DE2E

Accessibility & contrast

On white

5.23
#227D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#227D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D14
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D14#FFFFFF#000000##FFFFFF
##227D141.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#0A796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227d14;
/* rgb */ color: rgb(34, 125, 20);
/* oklch */ color: oklch(51.7% 0.160 141.4);
Tailwind
colors: {
  custom: {
    50: '#6da45c',
    500: '#227d14',
    950: '#000000',
  },
}
SCSS
$custom: #227d14;
$custom-light: #6da45c;
$custom-dark: #000000;
JSON
{
  "hex": "#227d14",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 112,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51701,
    "c": 0.16005,
    "h": 141.4
  },
  "luminance": 0.15058
}

Semantic roles & 50–950 ramp

primary
#227D14
secondary
#A23AB2
accent
#39EFD7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #227D14

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

Preview Lab → · Contrast checker → · Palette generator →

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