#228037#228037

#228037 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.139 H 147.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#228037
RGBrgb(34, 128, 55)
HSLhsl(133, 58%, 32%)
HSVhsv(133, 73%, 50%)
CMYKcmyk(73.4%, 0%, 57%, 49.8%)
CIE-LABlab(47.04, -43.27, 31.61)
CIE-LCHlch(47.04, 53.59, 143.85°)
OKLaboklab(52.9% -0.1166 0.0755)
OKLCHoklch(52.9% 0.139 147.1)
XYZxyz(9.0678, 16.0532, 6.2344)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228037 #80226B
analogous
#3C8022 #228037 #228066
triadic
#228037 #372280 #803722
tetradic
#228037 #223C80 #80226B #806622
square
#228037 #223C80 #80226B #806622
split-complementary
#228037 #662280 #80223C
monochromatic
#081F0D #155022 #228037 #2FB04C #4DD06A

Accessibility & contrast

On white

4.99
#228037 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#228037 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228037
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228037#FFFFFF#000000##FFFFFF
##2280371.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827430
Deuteranopia (green-blind)
#776D3D
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228037;
/* rgb */ color: rgb(34, 128, 55);
/* oklch */ color: oklch(52.9% 0.139 147.1);
Tailwind
colors: {
  custom: {
    50: '#6ca670',
    500: '#228037',
    950: '#000000',
  },
}
SCSS
$custom: #228037;
$custom-light: #6ca670;
$custom-dark: #000000;
JSON
{
  "hex": "#228037",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 55
  },
  "hsl": {
    "h": 133.404,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52902,
    "c": 0.13894,
    "h": 147.1
  },
  "luminance": 0.16054
}

Semantic roles & 50–950 ramp

primary
#228037
secondary
#B24B9B
accent
#47BFE1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #228037

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

Preview Lab → · Contrast checker → · Palette generator →

#228037 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva