#227E24#227E24

#227E24 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.152 H 143.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#227E24
RGBrgb(34, 126, 36)
HSLhsl(121, 58%, 31%)
HSVhsv(121, 73%, 49%)
CMYKcmyk(73%, 0%, 71.4%, 50.6%)
CIE-LABlab(46.16, -44.88, 39.63)
CIE-LCHlch(46.16, 59.87, 138.56°)
OKLaboklab(52.11% -0.1217 0.0908)
OKLCHoklch(52.11% 0.152 143.3)
XYZxyz(8.4385, 15.3882, 4.1942)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E24 #7E227C
analogous
#4E7E22 #227E24 #227E52
triadic
#227E24 #24227E #7E2422
tetradic
#227E24 #224E7E #7E227C #7E5222
square
#227E24 #224E7E #7E227C #7E5222
split-complementary
#227E24 #52227E #7E224E
monochromatic
#081E08 #154E16 #227E24 #2FAE32 #4CCF4F

Accessibility & contrast

On white

5.15
#227E24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#227E24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E24
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E24#FFFFFF#000000##FFFFFF
##227E241.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817217
Deuteranopia (green-blind)
#766B2D
Tritanopia (blue-blind)
#037A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227e24;
/* rgb */ color: rgb(34, 126, 36);
/* oklch */ color: oklch(52.1% 0.152 143.3);
Tailwind
colors: {
  custom: {
    50: '#6ca464',
    500: '#227e24',
    950: '#000000',
  },
}
SCSS
$custom: #227e24;
$custom-light: #6ca464;
$custom-dark: #000000;
JSON
{
  "hex": "#227e24",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 121.304,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52107,
    "c": 0.15189,
    "h": 143.3
  },
  "luminance": 0.15389
}

Semantic roles & 50–950 ramp

primary
#227E24
secondary
#B14BAE
accent
#47DDE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227E24

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

Preview Lab → · Contrast checker → · Palette generator →

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