#228C3E#228C3E

#228C3E is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.148 H 147.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#228C3E
RGBrgb(34, 140, 62)
HSLhsl(136, 61%, 34%)
HSVhsv(136, 76%, 55%)
CMYKcmyk(75.7%, 0%, 55.7%, 45.1%)
CIE-LABlab(51.20, -46.69, 33.03)
CIE-LCHlch(51.20, 57.20, 144.72°)
OKLaboklab(56.37% -0.1256 0.0792)
OKLCHoklch(56.37% 0.149 147.8)
XYZxyz(10.9064, 19.4428, 7.7345)
Luminance0.1944 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C3E #8C2270
analogous
#3B8C22 #228C3E #228C73
triadic
#228C3E #3E228C #8C3E22
tetradic
#228C3E #223B8C #8C2270 #8C7322
square
#228C3E #223B8C #8C2270 #8C7322
split-complementary
#228C3E #73228C #8C223B
monochromatic
#0A2A12 #165B28 #228C3E #2EBD54 #53D576

Accessibility & contrast

On white

4.30
#228C3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#228C3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C3E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C3E#FFFFFF#000000##000000
##228C3E1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F37
Deuteranopia (green-blind)
#817744
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228c3e;
/* rgb */ color: rgb(34, 140, 62);
/* oklch */ color: oklch(56.4% 0.148 147.8);
Tailwind
colors: {
  custom: {
    50: '#6eaf75',
    500: '#228c3e',
    950: '#000000',
  },
}
SCSS
$custom: #228c3e;
$custom-light: #6eaf75;
$custom-dark: #000000;
JSON
{
  "hex": "#228c3e",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 62
  },
  "hsl": {
    "h": 135.849,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56372,
    "c": 0.1485,
    "h": 147.8
  },
  "luminance": 0.19444
}

Semantic roles & 50–950 ramp

primary
#228C3E
secondary
#B9519D
accent
#44BAE4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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