#227724#227724

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

Color values

HEX#227724
RGBrgb(34, 119, 36)
HSLhsl(121, 56%, 30%)
HSVhsv(121, 71%, 47%)
CMYKcmyk(71.4%, 0%, 69.7%, 53.3%)
CIE-LABlab(43.74, -42.34, 37.04)
CIE-LCHlch(43.74, 56.26, 138.82°)
OKLaboklab(50.1% -0.1149 0.0854)
OKLCHoklch(50.1% 0.143 143.4)
XYZxyz(7.5745, 13.6603, 3.9062)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227724 #772275
analogous
#4A7722 #227724 #22774F
triadic
#227724 #242277 #772422
tetradic
#227724 #224A77 #772275 #774F22
square
#227724 #224A77 #772275 #774F22
split-complementary
#227724 #4F2277 #77224A
monochromatic
#071807 #144716 #227724 #30A732 #49CB4C

Accessibility & contrast

On white

5.63
#227724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#227724 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227724
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227724#FFFFFF#000000##FFFFFF
##2277241.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C19
Deuteranopia (green-blind)
#70652C
Tritanopia (blue-blind)
#097466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #227724;
/* rgb */ color: rgb(34, 119, 36);
/* oklch */ color: oklch(50.1% 0.143 143.4);
Tailwind
colors: {
  custom: {
    50: '#6a9f63',
    500: '#227724',
    950: '#000000',
  },
}
SCSS
$custom: #227724;
$custom-light: #6a9f63;
$custom-dark: #000000;
JSON
{
  "hex": "#227724",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 36
  },
  "hsl": {
    "h": 121.412,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.50102,
    "c": 0.14312,
    "h": 143.4
  },
  "luminance": 0.13661
}

Semantic roles & 50–950 ramp

primary
#227724
secondary
#AA4BA8
accent
#49DBDF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F05
muted
#7A7E7A

Preview Lab

Preview with #227724

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

Preview Lab → · Contrast checker → · Palette generator →

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