#228E24#228E24

#228E24 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.171 H 143.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#228E24
RGBrgb(34, 142, 36)
HSLhsl(121, 61%, 35%)
HSVhsv(121, 76%, 56%)
CMYKcmyk(76.1%, 0%, 74.6%, 44.3%)
CIE-LABlab(51.62, -50.43, 45.30)
CIE-LCHlch(51.62, 67.79, 138.07°)
OKLaboklab(56.64% -0.1368 0.1027)
OKLCHoklch(56.64% 0.171 143.1)
XYZxyz(10.6505, 19.8122, 4.9316)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E24 #8E228C
analogous
#568E22 #228E24 #228E5A
triadic
#228E24 #24228E #8E2422
tetradic
#228E24 #22568E #8E228C #8E5A22
square
#228E24 #22568E #8E228C #8E5A22
split-complementary
#228E24 #5A228E #8E2256
monochromatic
#0A2B0B #165D17 #228E24 #2EBF31 #54D657

Accessibility & contrast

On white

4.23
#228E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#228E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E24
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E24#FFFFFF#000000##000000
##228E241.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918011
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228e24;
/* rgb */ color: rgb(34, 142, 36);
/* oklch */ color: oklch(56.6% 0.171 143.1);
Tailwind
colors: {
  custom: {
    50: '#70b066',
    500: '#228e24',
    950: '#000000',
  },
}
SCSS
$custom: #228e24;
$custom-light: #70b066;
$custom-dark: #000000;
JSON
{
  "hex": "#228e24",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 121.111,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56641,
    "c": 0.17106,
    "h": 143.1
  },
  "luminance": 0.19813
}

Semantic roles & 50–950 ramp

primary
#228E24
secondary
#BA52B8
accent
#43E1E4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #228E24

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

Preview Lab → · Contrast checker → · Palette generator →

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