#228F58#228F58

#228F58 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.128 H 155.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#228F58
RGBrgb(34, 143, 88)
HSLhsl(150, 62%, 35%)
HSVhsv(150, 76%, 56%)
CMYKcmyk(76.2%, 0%, 38.5%, 43.9%)
CIE-LABlab(52.61, -43.21, 20.88)
CIE-LCHlch(52.61, 47.99, 154.21°)
OKLaboklab(57.66% -0.1167 0.0523)
OKLCHoklch(57.66% 0.128 155.9)
XYZxyz(12.2424, 20.6881, 12.5786)
Luminance0.2069 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F58 #8F2259
analogous
#228F22 #228F58 #228F8F
triadic
#228F58 #58228F #8F5822
tetradic
#228F58 #22228F #8F2259 #8F8F22
square
#228F58 #22228F #8F2259 #8F8F22
split-complementary
#228F58 #8F228F #8F2222
monochromatic
#0A2C1B #165E3A #228F58 #2EC076 #55D795

Accessibility & contrast

On white

4.09
#228F58 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#228F58 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F58
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F58#FFFFFF#000000##000000
##228F581.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8354
Deuteranopia (green-blind)
#817A5C
Tritanopia (blue-blind)
#008E81
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #228f58;
/* rgb */ color: rgb(34, 143, 88);
/* oklch */ color: oklch(57.7% 0.128 155.9);
Tailwind
colors: {
  custom: {
    50: '#6eb187',
    500: '#228f58',
    950: '#000000',
  },
}
SCSS
$custom: #228f58;
$custom-light: #6eb187;
$custom-dark: #000000;
JSON
{
  "hex": "#228f58",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 88
  },
  "hsl": {
    "h": 149.725,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57664,
    "c": 0.12786,
    "h": 155.9
  },
  "luminance": 0.2069
}

Semantic roles & 50–950 ramp

primary
#228F58
secondary
#BA5287
accent
#4395E5
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110B
muted
#7B807C

Preview Lab

Preview with #228F58

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

Preview Lab → · Contrast checker → · Palette generator →

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