#229727#229727

#229727 is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.2% C 0.180 H 143.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#229727
RGBrgb(34, 151, 39)
HSLhsl(123, 63%, 36%)
HSVhsv(123, 77%, 59%)
CMYKcmyk(77.5%, 0%, 74.2%, 40.8%)
CIE-LABlab(54.68, -53.17, 47.27)
CIE-LCHlch(54.68, 71.15, 138.36°)
OKLaboklab(59.18% -0.1441 0.1072)
OKLCHoklch(59.18% 0.18 143.4)
XYZxyz(12.0917, 22.6184, 5.6476)
Luminance0.2262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229727 #972292
analogous
#589722 #229727 #229762
triadic
#229727 #272297 #972722
tetradic
#229727 #225897 #972292 #976222
square
#229727 #225897 #972292 #976222
split-complementary
#229727 #622297 #972258
monochromatic
#0C330D #17651A #229727 #2DC934 #5ADA5F

Accessibility & contrast

On white

3.80
#229727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#229727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229727
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229727#FFFFFF#000000##000000
##2297271.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8813
Deuteranopia (green-blind)
#8D7F33
Tritanopia (blue-blind)
#009381
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #229727;
/* rgb */ color: rgb(34, 151, 39);
/* oklch */ color: oklch(59.2% 0.180 143.4);
Tailwind
colors: {
  custom: {
    50: '#72b768',
    500: '#229727',
    950: '#000000',
  },
}
SCSS
$custom: #229727;
$custom-light: #72b768;
$custom-dark: #000000;
JSON
{
  "hex": "#229727",
  "rgb": {
    "r": 34,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 122.564,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59184,
    "c": 0.17961,
    "h": 143.4
  },
  "luminance": 0.2262
}

Semantic roles & 50–950 ramp

primary
#229727
secondary
#BE57BA
accent
#42DFE6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #229727

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

Preview Lab → · Contrast checker → · Palette generator →

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