#227D24#227D24

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

Color values

HEX#227D24
RGBrgb(34, 125, 36)
HSLhsl(121, 57%, 31%)
HSVhsv(121, 73%, 49%)
CMYKcmyk(72.8%, 0%, 71.2%, 51%)
CIE-LABlab(45.82, -44.52, 39.26)
CIE-LCHlch(45.82, 59.36, 138.59°)
OKLaboklab(51.82% -0.1208 0.0901)
OKLCHoklch(51.82% 0.151 143.3)
XYZxyz(8.3112, 15.1338, 4.1518)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D24 #7D227B
analogous
#4D7D22 #227D24 #227D51
triadic
#227D24 #24227D #7D2422
tetradic
#227D24 #224D7D #7D227B #7D5122
square
#227D24 #224D7D #7D227B #7D5122
split-complementary
#227D24 #51227D #7D224D
monochromatic
#081D08 #154D16 #227D24 #2FAD32 #4BCE4E

Accessibility & contrast

On white

5.21
#227D24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#227D24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D24
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D24#FFFFFF#000000##FFFFFF
##227D241.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807117
Deuteranopia (green-blind)
#756A2C
Tritanopia (blue-blind)
#04796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227d24;
/* rgb */ color: rgb(34, 125, 36);
/* oklch */ color: oklch(51.8% 0.151 143.3);
Tailwind
colors: {
  custom: {
    50: '#6ca464',
    500: '#227d24',
    950: '#000000',
  },
}
SCSS
$custom: #227d24;
$custom-light: #6ca464;
$custom-dark: #000000;
JSON
{
  "hex": "#227d24",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 121.319,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51822,
    "c": 0.15066,
    "h": 143.3
  },
  "luminance": 0.15135
}

Semantic roles & 50–950 ramp

primary
#227D24
secondary
#B04BAD
accent
#47DDE0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227D24

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

Preview Lab → · Contrast checker → · Palette generator →

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