#228E57#228E57

#228E57 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.4% C 0.127 H 155.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#228E57
RGBrgb(34, 142, 87)
HSLhsl(149, 61%, 35%)
HSVhsv(149, 76%, 56%)
CMYKcmyk(76.1%, 0%, 38.7%, 44.3%)
CIE-LABlab(52.26, -43.01, 20.97)
CIE-LCHlch(52.26, 47.85, 154.01°)
OKLaboklab(57.37% -0.1161 0.0525)
OKLCHoklch(57.37% 0.127 155.7)
XYZxyz(12.0518, 20.3728, 12.3122)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E57 #8E2259
analogous
#238E22 #228E57 #228E8D
triadic
#228E57 #57228E #8E5722
tetradic
#228E57 #22238E #8E2259 #8E8D22
square
#228E57 #22238E #8E2259 #8E8D22
split-complementary
#228E57 #8D228E #8E2223
monochromatic
#0A2B1A #165D39 #228E57 #2EBF75 #54D694

Accessibility & contrast

On white

4.14
#228E57 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#228E57 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E57
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E57#FFFFFF#000000##000000
##228E571.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8253
Deuteranopia (green-blind)
#80795B
Tritanopia (blue-blind)
#008D80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228e57;
/* rgb */ color: rgb(34, 142, 87);
/* oklch */ color: oklch(57.4% 0.127 155.7);
Tailwind
colors: {
  custom: {
    50: '#6eb087',
    500: '#228e57',
    950: '#000000',
  },
}
SCSS
$custom: #228e57;
$custom-light: #6eb087;
$custom-dark: #000000;
JSON
{
  "hex": "#228e57",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 87
  },
  "hsl": {
    "h": 149.444,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57369,
    "c": 0.12745,
    "h": 155.7
  },
  "luminance": 0.20374
}

Semantic roles & 50–950 ramp

primary
#228E57
secondary
#BA5287
accent
#4395E4
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08110B
muted
#7B807C

Preview Lab

Preview with #228E57

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

Preview Lab → · Contrast checker → · Palette generator →

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