#228F3C#228F3C

#228F3C is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.154 H 147.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#228F3C
RGBrgb(34, 143, 60)
HSLhsl(134, 62%, 35%)
HSVhsv(134, 76%, 56%)
CMYKcmyk(76.2%, 0%, 58%, 43.9%)
CIE-LABlab(52.19, -48.07, 35.22)
CIE-LCHlch(52.19, 59.59, 143.77°)
OKLaboklab(57.18% -0.1294 0.0838)
OKLCHoklch(57.18% 0.154 147.1)
XYZxyz(11.2969, 20.3099, 7.5989)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F3C #8F2275
analogous
#3F8F22 #228F3C #228F73
triadic
#228F3C #3C228F #8F3C22
tetradic
#228F3C #223F8F #8F2275 #8F7322
square
#228F3C #223F8F #8F2275 #8F7322
split-complementary
#228F3C #73228F #8F223F
monochromatic
#0A2C13 #165E27 #228F3C #2EC051 #55D774

Accessibility & contrast

On white

4.15
#228F3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#228F3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F3C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F3C#FFFFFF#000000##000000
##228F3C1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918234
Deuteranopia (green-blind)
#847943
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228f3c;
/* rgb */ color: rgb(34, 143, 60);
/* oklch */ color: oklch(57.2% 0.154 147.1);
Tailwind
colors: {
  custom: {
    50: '#6fb174',
    500: '#228f3c',
    950: '#000000',
  },
}
SCSS
$custom: #228f3c;
$custom-light: #6fb174;
$custom-dark: #000000;
JSON
{
  "hex": "#228f3c",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 60
  },
  "hsl": {
    "h": 134.312,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57179,
    "c": 0.15417,
    "h": 147.1
  },
  "luminance": 0.20311
}

Semantic roles & 50–950 ramp

primary
#228F3C
secondary
#BA52A2
accent
#43BEE5
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #228F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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