#228F4C#228F4C

#228F4C is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.139 H 151.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#228F4C
RGBrgb(34, 143, 76)
HSLhsl(143, 62%, 35%)
HSVhsv(143, 76%, 56%)
CMYKcmyk(76.2%, 0%, 46.9%, 43.9%)
CIE-LABlab(52.40, -45.51, 27.19)
CIE-LCHlch(52.40, 53.02, 149.15°)
OKLaboklab(57.43% -0.1224 0.0667)
OKLCHoklch(57.43% 0.139 151.4)
XYZxyz(11.7856, 20.5054, 10.1729)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F4C #8F2265
analogous
#2F8F22 #228F4C #228F83
triadic
#228F4C #4C228F #8F4C22
tetradic
#228F4C #222F8F #8F2265 #8F8322
square
#228F4C #222F8F #8F2265 #8F8322
split-complementary
#228F4C #83228F #8F222F
monochromatic
#0A2C17 #165E32 #228F4C #2EC066 #55D787

Accessibility & contrast

On white

4.12
#228F4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#228F4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F4C
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F4C#FFFFFF#000000##000000
##228F4C1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8247
Deuteranopia (green-blind)
#837951
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228f4c;
/* rgb */ color: rgb(34, 143, 76);
/* oklch */ color: oklch(57.4% 0.139 151.4);
Tailwind
colors: {
  custom: {
    50: '#6fb17f',
    500: '#228f4c',
    950: '#000000',
  },
}
SCSS
$custom: #228f4c;
$custom-light: #6fb17f;
$custom-dark: #000000;
JSON
{
  "hex": "#228f4c",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 76
  },
  "hsl": {
    "h": 143.119,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57431,
    "c": 0.13941,
    "h": 151.4
  },
  "luminance": 0.20507
}

Semantic roles & 50–950 ramp

primary
#228F4C
secondary
#BA5292
accent
#43A6E5
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #228F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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