#228F57#228F57

#228F57 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.6% C 0.129 H 155.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#228F57
RGBrgb(34, 143, 87)
HSLhsl(149, 62%, 35%)
HSVhsv(149, 76%, 56%)
CMYKcmyk(76.2%, 0%, 39.2%, 43.9%)
CIE-LABlab(52.59, -43.41, 21.41)
CIE-LCHlch(52.59, 48.40, 153.75°)
OKLaboklab(57.64% -0.1172 0.0535)
OKLCHoklch(57.64% 0.129 155.5)
XYZxyz(12.2013, 20.6717, 12.3620)
Luminance0.2067 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F57 #8F225A
analogous
#248F22 #228F57 #228F8D
triadic
#228F57 #57228F #8F5722
tetradic
#228F57 #22248F #8F225A #8F8D22
square
#228F57 #22248F #8F225A #8F8D22
split-complementary
#228F57 #8D228F #8F2224
monochromatic
#0A2C1B #165E39 #228F57 #2EC075 #55D794

Accessibility & contrast

On white

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

On black

5.13
#228F57 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F57
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F57#FFFFFF#000000##000000
##228F571.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8353
Deuteranopia (green-blind)
#817A5B
Tritanopia (blue-blind)
#008E81
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228f57;
/* rgb */ color: rgb(34, 143, 87);
/* oklch */ color: oklch(57.6% 0.129 155.5);
Tailwind
colors: {
  custom: {
    50: '#6eb187',
    500: '#228f57',
    950: '#000000',
  },
}
SCSS
$custom: #228f57;
$custom-light: #6eb187;
$custom-dark: #000000;
JSON
{
  "hex": "#228f57",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 87
  },
  "hsl": {
    "h": 149.174,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57643,
    "c": 0.12882,
    "h": 155.5
  },
  "luminance": 0.20673
}

Semantic roles & 50–950 ramp

primary
#228F57
secondary
#BA5288
accent
#4396E5
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110B
muted
#7B807C

Preview Lab

Preview with #228F57

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

Preview Lab → · Contrast checker → · Palette generator →

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