#228F4B#228F4B

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

Color values

HEX#228F4B
RGBrgb(34, 143, 75)
HSLhsl(143, 62%, 35%)
HSVhsv(143, 76%, 56%)
CMYKcmyk(76.2%, 0%, 47.6%, 43.9%)
CIE-LABlab(52.39, -45.69, 27.70)
CIE-LCHlch(52.39, 53.43, 148.77°)
OKLaboklab(57.41% -0.1229 0.0679)
OKLCHoklch(57.41% 0.14 151.1)
XYZxyz(11.7511, 20.4916, 9.9912)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F4B #8F2266
analogous
#2F8F22 #228F4B #228F82
triadic
#228F4B #4B228F #8F4B22
tetradic
#228F4B #222F8F #8F2266 #8F8222
square
#228F4B #222F8F #8F2266 #8F8222
split-complementary
#228F4B #82228F #8F222F
monochromatic
#0A2C17 #165E31 #228F4B #2EC065 #55D786

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228F4B#FFFFFF#000000##000000
##228F4B1.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)
#908246
Deuteranopia (green-blind)
#837950
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228f4b;
/* rgb */ color: rgb(34, 143, 75);
/* oklch */ color: oklch(57.4% 0.140 151.1);
Tailwind
colors: {
  custom: {
    50: '#6fb17e',
    500: '#228f4b',
    950: '#000000',
  },
}
SCSS
$custom: #228f4b;
$custom-light: #6fb17e;
$custom-dark: #000000;
JSON
{
  "hex": "#228f4b",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 75
  },
  "hsl": {
    "h": 142.569,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57413,
    "c": 0.14036,
    "h": 151.1
  },
  "luminance": 0.20493
}

Semantic roles & 50–950 ramp

primary
#228F4B
secondary
#BA5293
accent
#43A8E5
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #228F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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