#228F51#228F51

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

Color values

HEX#228F51
RGBrgb(34, 143, 81)
HSLhsl(146, 62%, 35%)
HSVhsv(146, 76%, 56%)
CMYKcmyk(76.2%, 0%, 43.4%, 43.9%)
CIE-LABlab(52.48, -44.59, 24.58)
CIE-LCHlch(52.48, 50.92, 151.14°)
OKLaboklab(57.52% -0.1201 0.0608)
OKLCHoklch(57.52% 0.135 153.1)
XYZxyz(11.9663, 20.5777, 11.1242)
Luminance0.2058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F51 #8F2260
analogous
#298F22 #228F51 #228F88
triadic
#228F51 #51228F #8F5122
tetradic
#228F51 #22298F #8F2260 #8F8822
square
#228F51 #22298F #8F2260 #8F8822
split-complementary
#228F51 #88228F #8F2229
monochromatic
#0A2C19 #165E35 #228F51 #2EC06D #55D78D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228F51#FFFFFF#000000##000000
##228F511.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)
#8F834D
Deuteranopia (green-blind)
#827A55
Tritanopia (blue-blind)
#008D80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228f51;
/* rgb */ color: rgb(34, 143, 81);
/* oklch */ color: oklch(57.5% 0.135 153.1);
Tailwind
colors: {
  custom: {
    50: '#6eb182',
    500: '#228f51',
    950: '#000000',
  },
}
SCSS
$custom: #228f51;
$custom-light: #6eb182;
$custom-dark: #000000;
JSON
{
  "hex": "#228f51",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 81
  },
  "hsl": {
    "h": 145.872,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57523,
    "c": 0.1346,
    "h": 153.1
  },
  "luminance": 0.20579
}

Semantic roles & 50–950 ramp

primary
#228F51
secondary
#BA528E
accent
#439FE5
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110A
muted
#7B807C

Preview Lab

Preview with #228F51

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

Preview Lab → · Contrast checker → · Palette generator →

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