#228E36#228E36

#228E36 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.158 H 145.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#228E36
RGBrgb(34, 142, 54)
HSLhsl(131, 61%, 35%)
HSVhsv(131, 76%, 56%)
CMYKcmyk(76.1%, 0%, 62%, 44.3%)
CIE-LABlab(51.78, -48.52, 37.67)
CIE-LCHlch(51.78, 61.42, 142.17°)
OKLaboklab(56.82% -0.1308 0.0886)
OKLCHoklch(56.82% 0.158 145.9)
XYZxyz(10.9978, 19.9512, 6.7607)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E36 #8E227A
analogous
#448E22 #228E36 #228E6C
triadic
#228E36 #36228E #8E3622
tetradic
#228E36 #22448E #8E227A #8E6C22
square
#228E36 #22448E #8E227A #8E6C22
split-complementary
#228E36 #6C228E #8E2244
monochromatic
#0A2B10 #165D23 #228E36 #2EBF49 #54D66C

Accessibility & contrast

On white

4.21
#228E36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#228E36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E36
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E36#FFFFFF#000000##000000
##228E361.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812D
Deuteranopia (green-blind)
#84783D
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228e36;
/* rgb */ color: rgb(34, 142, 54);
/* oklch */ color: oklch(56.8% 0.158 145.9);
Tailwind
colors: {
  custom: {
    50: '#6fb070',
    500: '#228e36',
    950: '#000000',
  },
}
SCSS
$custom: #228e36;
$custom-light: #6fb070;
$custom-dark: #000000;
JSON
{
  "hex": "#228e36",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 54
  },
  "hsl": {
    "h": 131.111,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56823,
    "c": 0.158,
    "h": 145.9
  },
  "luminance": 0.19952
}

Semantic roles & 50–950 ramp

primary
#228E36
secondary
#BA52A7
accent
#43C7E4
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081108
muted
#7B807B

Preview Lab

Preview with #228E36

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

Preview Lab → · Contrast checker → · Palette generator →

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