#227727#227727

#227727 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.141 H 143.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#227727
RGBrgb(34, 119, 39)
HSLhsl(124, 56%, 30%)
HSVhsv(124, 71%, 47%)
CMYKcmyk(71.4%, 0%, 67.2%, 53.3%)
CIE-LABlab(43.77, -42.01, 35.70)
CIE-LCHlch(43.77, 55.13, 139.64°)
OKLaboklab(50.13% -0.1138 0.0829)
OKLCHoklch(50.13% 0.141 143.9)
XYZxyz(7.6222, 13.6794, 4.1578)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227727 #772272
analogous
#487722 #227727 #227751
triadic
#227727 #272277 #772722
tetradic
#227727 #224877 #772272 #775122
square
#227727 #224877 #772272 #775122
split-complementary
#227727 #512277 #772248
monochromatic
#071808 #144717 #227727 #30A737 #49CB50

Accessibility & contrast

On white

5.62
#227727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#227727 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227727
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227727#FFFFFF#000000##FFFFFF
##2277271.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C1D
Deuteranopia (green-blind)
#6F652E
Tritanopia (blue-blind)
#087466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #227727;
/* rgb */ color: rgb(34, 119, 39);
/* oklch */ color: oklch(50.1% 0.141 143.9);
Tailwind
colors: {
  custom: {
    50: '#6a9f65',
    500: '#227727',
    950: '#000000',
  },
}
SCSS
$custom: #227727;
$custom-light: #6a9f65;
$custom-dark: #000000;
JSON
{
  "hex": "#227727",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 39
  },
  "hsl": {
    "h": 123.529,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.50134,
    "c": 0.1408,
    "h": 143.9
  },
  "luminance": 0.1368
}

Semantic roles & 50–950 ramp

primary
#227727
secondary
#AA4BA4
accent
#49D6DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #227727

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

Preview Lab → · Contrast checker → · Palette generator →

#227727 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva