#228C2E#228C2E

#228C2E is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.162 H 144.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#228C2E
RGBrgb(34, 140, 46)
HSLhsl(127, 61%, 34%)
HSVhsv(127, 76%, 55%)
CMYKcmyk(75.7%, 0%, 67.1%, 45.1%)
CIE-LABlab(51.03, -48.77, 40.52)
CIE-LCHlch(51.03, 63.40, 140.28°)
OKLaboklab(56.17% -0.1318 0.0939)
OKLCHoklch(56.17% 0.162 144.5)
XYZxyz(10.5302, 19.2923, 5.7531)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C2E #8C2280
analogous
#4B8C22 #228C2E #228C63
triadic
#228C2E #2E228C #8C2E22
tetradic
#228C2E #224B8C #8C2280 #8C6322
square
#228C2E #224B8C #8C2280 #8C6322
split-complementary
#228C2E #63228C #8C224B
monochromatic
#0A2A0E #165B1E #228C2E #2EBD3E #53D562

Accessibility & contrast

On white

4.32
#228C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#228C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C2E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C2E#FFFFFF#000000##000000
##228C2E1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F22
Deuteranopia (green-blind)
#837636
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228c2e;
/* rgb */ color: rgb(34, 140, 46);
/* oklch */ color: oklch(56.2% 0.162 144.5);
Tailwind
colors: {
  custom: {
    50: '#6faf6b',
    500: '#228c2e',
    950: '#000000',
  },
}
SCSS
$custom: #228c2e;
$custom-light: #6faf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#228c2e",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 126.792,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56172,
    "c": 0.16182,
    "h": 144.5
  },
  "luminance": 0.19294
}

Semantic roles & 50–950 ramp

primary
#228C2E
secondary
#B951AD
accent
#44D2E4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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