#228C3F#228C3F

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

Color values

HEX#228C3F
RGBrgb(34, 140, 63)
HSLhsl(136, 61%, 34%)
HSVhsv(136, 76%, 55%)
CMYKcmyk(75.7%, 0%, 55%, 45.1%)
CIE-LABlab(51.21, -46.54, 32.54)
CIE-LCHlch(51.21, 56.79, 145.04°)
OKLaboklab(56.39% -0.1252 0.0781)
OKLCHoklch(56.39% 0.148 148)
XYZxyz(10.9341, 19.4539, 7.8804)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C3F #8C226F
analogous
#3A8C22 #228C3F #228C74
triadic
#228C3F #3F228C #8C3F22
tetradic
#228C3F #223A8C #8C226F #8C7422
square
#228C3F #223A8C #8C226F #8C7422
split-complementary
#228C3F #74228C #8C223A
monochromatic
#0A2A13 #165B29 #228C3F #2EBD55 #53D577

Accessibility & contrast

On white

4.29
#228C3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##228C3F#FFFFFF#000000##000000
##228C3F1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F38
Deuteranopia (green-blind)
#817745
Tritanopia (blue-blind)
#00897B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228c3f;
/* rgb */ color: rgb(34, 140, 63);
/* oklch */ color: oklch(56.4% 0.148 148.0);
Tailwind
colors: {
  custom: {
    50: '#6eaf76',
    500: '#228c3f',
    950: '#000000',
  },
}
SCSS
$custom: #228c3f;
$custom-light: #6eaf76;
$custom-dark: #000000;
JSON
{
  "hex": "#228c3f",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 63
  },
  "hsl": {
    "h": 136.415,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56387,
    "c": 0.1476,
    "h": 148
  },
  "luminance": 0.19455
}

Semantic roles & 50–950 ramp

primary
#228C3F
secondary
#B9519C
accent
#44B8E4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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