#227D20#227D20

#227D20 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.153 H 142.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#227D20
RGBrgb(34, 125, 32)
HSLhsl(119, 59%, 31%)
HSVhsv(119, 74%, 49%)
CMYKcmyk(72.8%, 0%, 74.4%, 51%)
CIE-LABlab(45.79, -44.90, 40.89)
CIE-LCHlch(45.79, 60.73, 137.68°)
OKLaboklab(51.79% -0.122 0.0929)
OKLCHoklch(51.79% 0.153 142.7)
XYZxyz(8.2535, 15.1107, 3.8479)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D20 #7B207D
analogous
#507D20 #227D20 #207D4C
triadic
#227D20 #20227D #7D2022
tetradic
#227D20 #20507D #7B207D #7D4C20
square
#227D20 #20507D #7B207D #7D4C20
split-complementary
#227D20 #4C207D #7D2050
monochromatic
#071C07 #154C14 #227D20 #2FAE2C #4AD047

Accessibility & contrast

On white

5.22
#227D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#227D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D20
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D20#FFFFFF#000000##FFFFFF
##227D201.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#756A29
Tritanopia (blue-blind)
#06796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227d20;
/* rgb */ color: rgb(34, 125, 32);
/* oklch */ color: oklch(51.8% 0.153 142.7);
Tailwind
colors: {
  custom: {
    50: '#6ca462',
    500: '#227d20',
    950: '#000000',
  },
}
SCSS
$custom: #227d20;
$custom-light: #6ca462;
$custom-dark: #000000;
JSON
{
  "hex": "#227d20",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 118.71,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51785,
    "c": 0.15338,
    "h": 142.7
  },
  "luminance": 0.15112
}

Semantic roles & 50–950 ramp

primary
#227D20
secondary
#AE49B0
accent
#45E2DF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #227D20

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

Preview Lab → · Contrast checker → · Palette generator →

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