#228F56#228F56

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

Color values

HEX#228F56
RGBrgb(34, 143, 86)
HSLhsl(149, 62%, 35%)
HSVhsv(149, 76%, 56%)
CMYKcmyk(76.2%, 0%, 39.9%, 43.9%)
CIE-LABlab(52.57, -43.61, 21.94)
CIE-LCHlch(52.57, 48.82, 153.29°)
OKLaboklab(57.62% -0.1177 0.0548)
OKLCHoklch(57.62% 0.13 155)
XYZxyz(12.1607, 20.6555, 12.1483)
Luminance0.2066 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F56 #8F225B
analogous
#248F22 #228F56 #228F8D
triadic
#228F56 #56228F #8F5622
tetradic
#228F56 #22248F #8F225B #8F8D22
square
#228F56 #22248F #8F225B #8F8D22
split-complementary
#228F56 #8D228F #8F2224
monochromatic
#0A2C1B #165E38 #228F56 #2EC074 #55D793

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228F56#FFFFFF#000000##000000
##228F561.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)
#8E8352
Deuteranopia (green-blind)
#817A5A
Tritanopia (blue-blind)
#008D81
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228f56;
/* rgb */ color: rgb(34, 143, 86);
/* oklch */ color: oklch(57.6% 0.130 155.0);
Tailwind
colors: {
  custom: {
    50: '#6eb186',
    500: '#228f56',
    950: '#000000',
  },
}
SCSS
$custom: #228f56;
$custom-light: #6eb186;
$custom-dark: #000000;
JSON
{
  "hex": "#228f56",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 86
  },
  "hsl": {
    "h": 148.624,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57623,
    "c": 0.12978,
    "h": 155
  },
  "luminance": 0.20657
}

Semantic roles & 50–950 ramp

primary
#228F56
secondary
#BA5289
accent
#4398E5
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110B
muted
#7B807C

Preview Lab

Preview with #228F56

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

Preview Lab → · Contrast checker → · Palette generator →

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