#228D37#228D37

#228D37 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.156 H 146.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#228D37
RGBrgb(34, 141, 55)
HSLhsl(132, 61%, 34%)
HSVhsv(132, 76%, 55%)
CMYKcmyk(75.9%, 0%, 61%, 44.7%)
CIE-LABlab(51.46, -48.03, 36.81)
CIE-LCHlch(51.46, 60.52, 142.53°)
OKLaboklab(56.56% -0.1295 0.0869)
OKLCHoklch(56.56% 0.156 146.1)
XYZxyz(10.8734, 19.6644, 6.8362)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D37 #8D2278
analogous
#428D22 #228D37 #228D6D
triadic
#228D37 #37228D #8D3722
tetradic
#228D37 #22428D #8D2278 #8D6D22
square
#228D37 #22428D #8D2278 #8D6D22
split-complementary
#228D37 #6D228D #8D2242
monochromatic
#0A2A11 #165C24 #228D37 #2EBE4A #54D66D

Accessibility & contrast

On white

4.26
#228D37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#228D37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D37
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D37#FFFFFF#000000##000000
##228D371.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802E
Deuteranopia (green-blind)
#83773E
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228d37;
/* rgb */ color: rgb(34, 141, 55);
/* oklch */ color: oklch(56.6% 0.156 146.1);
Tailwind
colors: {
  custom: {
    50: '#6faf71',
    500: '#228d37',
    950: '#000000',
  },
}
SCSS
$custom: #228d37;
$custom-light: #6faf71;
$custom-dark: #000000;
JSON
{
  "hex": "#228d37",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 55
  },
  "hsl": {
    "h": 131.776,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56556,
    "c": 0.1559,
    "h": 146.1
  },
  "luminance": 0.19666
}

Semantic roles & 50–950 ramp

primary
#228D37
secondary
#B951A5
accent
#44C5E4
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228D37

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

Preview Lab → · Contrast checker → · Palette generator →

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