#227729#227729

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

Color values

HEX#227729
RGBrgb(34, 119, 41)
HSLhsl(125, 56%, 30%)
HSVhsv(125, 71%, 47%)
CMYKcmyk(71.4%, 0%, 65.5%, 53.3%)
CIE-LABlab(43.79, -41.77, 34.78)
CIE-LCHlch(43.79, 54.36, 140.22°)
OKLaboklab(50.16% -0.1131 0.0812)
OKLCHoklch(50.16% 0.139 144.3)
XYZxyz(7.6563, 13.6930, 4.3369)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227729 #772270
analogous
#467722 #227729 #227753
triadic
#227729 #292277 #772922
tetradic
#227729 #224677 #772270 #775322
square
#227729 #224677 #772270 #775322
split-complementary
#227729 #532277 #772246
monochromatic
#071808 #144719 #227729 #30A739 #49CB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227729#FFFFFF#000000##FFFFFF
##2277291.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)
#796C20
Deuteranopia (green-blind)
#6F6530
Tritanopia (blue-blind)
#067467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #227729;
/* rgb */ color: rgb(34, 119, 41);
/* oklch */ color: oklch(50.2% 0.139 144.3);
Tailwind
colors: {
  custom: {
    50: '#6a9f66',
    500: '#227729',
    950: '#000000',
  },
}
SCSS
$custom: #227729;
$custom-light: #6a9f66;
$custom-dark: #000000;
JSON
{
  "hex": "#227729",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 41
  },
  "hsl": {
    "h": 124.941,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.50156,
    "c": 0.13918,
    "h": 144.3
  },
  "luminance": 0.13694
}

Semantic roles & 50–950 ramp

primary
#227729
secondary
#AA4BA2
accent
#49D3DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #227729

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

Preview Lab → · Contrast checker → · Palette generator →

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