#228737#228737

#228737 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.148 H 146.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#228737
RGBrgb(34, 135, 55)
HSLhsl(132, 60%, 33%)
HSVhsv(132, 75%, 53%)
CMYKcmyk(74.8%, 0%, 59.3%, 47.1%)
CIE-LABlab(49.43, -45.87, 34.44)
CIE-LCHlch(49.43, 57.36, 143.10°)
OKLaboklab(54.87% -0.1236 0.0817)
OKLCHoklch(54.87% 0.148 146.5)
XYZxyz(10.0125, 17.9427, 6.5493)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228737 #872272
analogous
#408722 #228737 #228769
triadic
#228737 #372287 #873722
tetradic
#228737 #224087 #872272 #876922
square
#228737 #224087 #872272 #876922
split-complementary
#228737 #692287 #872240
monochromatic
#09250F #165623 #228737 #2EB84B #50D36C

Accessibility & contrast

On white

4.58
#228737 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#228737 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228737
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228737#FFFFFF#000000##000000
##2287371.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A2F
Deuteranopia (green-blind)
#7D723D
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228737;
/* rgb */ color: rgb(34, 135, 55);
/* oklch */ color: oklch(54.9% 0.148 146.5);
Tailwind
colors: {
  custom: {
    50: '#6dab70',
    500: '#228737',
    950: '#000000',
  },
}
SCSS
$custom: #228737;
$custom-light: #6dab70;
$custom-dark: #000000;
JSON
{
  "hex": "#228737",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 55
  },
  "hsl": {
    "h": 132.475,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54875,
    "c": 0.14819,
    "h": 146.5
  },
  "luminance": 0.17944
}

Semantic roles & 50–950 ramp

primary
#228737
secondary
#B74EA1
accent
#45C2E3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228737

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

Preview Lab → · Contrast checker → · Palette generator →

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