#228F54#228F54

#228F54 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.132 H 154.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#228F54
RGBrgb(34, 143, 84)
HSLhsl(148, 62%, 35%)
HSVhsv(148, 76%, 56%)
CMYKcmyk(76.2%, 0%, 41.3%, 43.9%)
CIE-LABlab(52.54, -44.01, 23.00)
CIE-LCHlch(52.54, 49.66, 152.41°)
OKLaboklab(57.58% -0.1186 0.0572)
OKLCHoklch(57.58% 0.132 154.3)
XYZxyz(12.0813, 20.6237, 11.7298)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F54 #8F225D
analogous
#268F22 #228F54 #228F8B
triadic
#228F54 #54228F #8F5422
tetradic
#228F54 #22268F #8F225D #8F8B22
square
#228F54 #22268F #8F225D #8F8B22
split-complementary
#228F54 #8B228F #8F2226
monochromatic
#0A2C1A #165E37 #228F54 #2EC071 #55D790

Accessibility & contrast

On white

4.10
#228F54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#228F54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F54
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F54#FFFFFF#000000##000000
##228F541.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8350
Deuteranopia (green-blind)
#827A58
Tritanopia (blue-blind)
#008D80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228f54;
/* rgb */ color: rgb(34, 143, 84);
/* oklch */ color: oklch(57.6% 0.132 154.3);
Tailwind
colors: {
  custom: {
    50: '#6eb184',
    500: '#228f54',
    950: '#000000',
  },
}
SCSS
$custom: #228f54;
$custom-light: #6eb184;
$custom-dark: #000000;
JSON
{
  "hex": "#228f54",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 84
  },
  "hsl": {
    "h": 147.523,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57582,
    "c": 0.13171,
    "h": 154.3
  },
  "luminance": 0.20625
}

Semantic roles & 50–950 ramp

primary
#228F54
secondary
#BA528B
accent
#439BE5
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110B
muted
#7B807C

Preview Lab

Preview with #228F54

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

Preview Lab → · Contrast checker → · Palette generator →

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