#228E54#228E54

#228E54 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.130 H 154.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#228E54
RGBrgb(34, 142, 84)
HSLhsl(148, 61%, 35%)
HSVhsv(148, 76%, 56%)
CMYKcmyk(76.1%, 0%, 40.8%, 44.3%)
CIE-LABlab(52.20, -43.62, 22.56)
CIE-LCHlch(52.20, 49.11, 152.65°)
OKLaboklab(57.31% -0.1176 0.0562)
OKLCHoklch(57.31% 0.13 154.5)
XYZxyz(11.9318, 20.3248, 11.6800)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E54 #8E225C
analogous
#268E22 #228E54 #228E8A
triadic
#228E54 #54228E #8E5422
tetradic
#228E54 #22268E #8E225C #8E8A22
square
#228E54 #22268E #8E225C #8E8A22
split-complementary
#228E54 #8A228E #8E2226
monochromatic
#0A2B1A #165D37 #228E54 #2EBF71 #54D690

Accessibility & contrast

On white

4.15
#228E54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##228E54#FFFFFF#000000##000000
##228E541.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8250
Deuteranopia (green-blind)
#817958
Tritanopia (blue-blind)
#008C7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228e54;
/* rgb */ color: rgb(34, 142, 84);
/* oklch */ color: oklch(57.3% 0.130 154.5);
Tailwind
colors: {
  custom: {
    50: '#6eb084',
    500: '#228e54',
    950: '#000000',
  },
}
SCSS
$custom: #228e54;
$custom-light: #6eb084;
$custom-dark: #000000;
JSON
{
  "hex": "#228e54",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 84
  },
  "hsl": {
    "h": 147.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57308,
    "c": 0.13034,
    "h": 154.5
  },
  "luminance": 0.20326
}

Semantic roles & 50–950 ramp

primary
#228E54
secondary
#BA528A
accent
#439AE4
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08110B
muted
#7B807C

Preview Lab

Preview with #228E54

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

Preview Lab → · Contrast checker → · Palette generator →

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