#228F37#228F37

#228F37 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.158 H 146.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#228F37
RGBrgb(34, 143, 55)
HSLhsl(132, 62%, 35%)
HSVhsv(132, 76%, 56%)
CMYKcmyk(76.2%, 0%, 61.5%, 43.9%)
CIE-LABlab(52.13, -48.74, 37.59)
CIE-LCHlch(52.13, 61.56, 142.36°)
OKLaboklab(57.11% -0.1314 0.0886)
OKLCHoklch(57.11% 0.158 146)
XYZxyz(11.1709, 20.2595, 6.9354)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F37 #8F227A
analogous
#438F22 #228F37 #228F6E
triadic
#228F37 #37228F #8F3722
tetradic
#228F37 #22438F #8F227A #8F6E22
square
#228F37 #22438F #8F227A #8F6E22
split-complementary
#228F37 #6E228F #8F2243
monochromatic
#0A2C11 #165E24 #228F37 #2EC04A #55D76E

Accessibility & contrast

On white

4.16
#228F37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#228F37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F37
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F37#FFFFFF#000000##000000
##228F371.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91822E
Deuteranopia (green-blind)
#85793E
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228f37;
/* rgb */ color: rgb(34, 143, 55);
/* oklch */ color: oklch(57.1% 0.158 146.0);
Tailwind
colors: {
  custom: {
    50: '#6fb171',
    500: '#228f37',
    950: '#000000',
  },
}
SCSS
$custom: #228f37;
$custom-light: #6fb171;
$custom-dark: #000000;
JSON
{
  "hex": "#228f37",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 55
  },
  "hsl": {
    "h": 131.56,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57114,
    "c": 0.15844,
    "h": 146
  },
  "luminance": 0.20261
}

Semantic roles & 50–950 ramp

primary
#228F37
secondary
#BA52A6
accent
#43C6E5
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081108
muted
#7B807B

Preview Lab

Preview with #228F37

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

Preview Lab → · Contrast checker → · Palette generator →

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