#228E3F#228E3F

#228E3F is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.150 H 147.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#228E3F
RGBrgb(34, 142, 63)
HSLhsl(136, 61%, 35%)
HSVhsv(136, 76%, 56%)
CMYKcmyk(76.1%, 0%, 55.6%, 44.3%)
CIE-LABlab(51.89, -47.27, 33.35)
CIE-LCHlch(51.89, 57.85, 144.80°)
OKLaboklab(56.94% -0.1272 0.0799)
OKLCHoklch(56.94% 0.15 147.9)
XYZxyz(11.2290, 20.0437, 7.9787)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E3F #8E2271
analogous
#3B8E22 #228E3F #228E75
triadic
#228E3F #3F228E #8E3F22
tetradic
#228E3F #223B8E #8E2271 #8E7522
square
#228E3F #223B8E #8E2271 #8E7522
split-complementary
#228E3F #75228E #8E223B
monochromatic
#0A2B13 #165D29 #228E3F #2EBF55 #54D677

Accessibility & contrast

On white

4.19
#228E3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#228E3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E3F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E3F#FFFFFF#000000##000000
##228E3F1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#908138
Deuteranopia (green-blind)
#837845
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228e3f;
/* rgb */ color: rgb(34, 142, 63);
/* oklch */ color: oklch(56.9% 0.150 147.9);
Tailwind
colors: {
  custom: {
    50: '#6fb076',
    500: '#228e3f',
    950: '#000000',
  },
}
SCSS
$custom: #228e3f;
$custom-light: #6fb076;
$custom-dark: #000000;
JSON
{
  "hex": "#228e3f",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 63
  },
  "hsl": {
    "h": 136.111,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56943,
    "c": 0.15021,
    "h": 147.9
  },
  "luminance": 0.20045
}

Semantic roles & 50–950 ramp

primary
#228E3F
secondary
#BA529E
accent
#43B9E4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081108
muted
#7B807B

Preview Lab

Preview with #228E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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