#228736#228736

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

Color values

HEX#228736
RGBrgb(34, 135, 54)
HSLhsl(132, 60%, 33%)
HSVhsv(132, 75%, 53%)
CMYKcmyk(74.8%, 0%, 60%, 47.1%)
CIE-LABlab(49.41, -46.01, 34.92)
CIE-LCHlch(49.41, 57.76, 142.80°)
OKLaboklab(54.86% -0.124 0.0827)
OKLCHoklch(54.86% 0.149 146.3)
XYZxyz(9.9888, 17.9332, 6.4243)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228736 #872273
analogous
#408722 #228736 #228768
triadic
#228736 #362287 #873622
tetradic
#228736 #224087 #872273 #876822
square
#228736 #224087 #872273 #876822
split-complementary
#228736 #682287 #872240
monochromatic
#09250F #165622 #228736 #2EB84A #50D36A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228736#FFFFFF#000000##000000
##2287361.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)
#897A2E
Deuteranopia (green-blind)
#7D723D
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228736;
/* rgb */ color: rgb(34, 135, 54);
/* oklch */ color: oklch(54.9% 0.149 146.3);
Tailwind
colors: {
  custom: {
    50: '#6dab70',
    500: '#228736',
    950: '#000000',
  },
}
SCSS
$custom: #228736;
$custom-light: #6dab70;
$custom-dark: #000000;
JSON
{
  "hex": "#228736",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 54
  },
  "hsl": {
    "h": 131.881,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54861,
    "c": 0.14905,
    "h": 146.3
  },
  "luminance": 0.17934
}

Semantic roles & 50–950 ramp

primary
#228736
secondary
#B74EA2
accent
#45C4E3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228736

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

Preview Lab → · Contrast checker → · Palette generator →

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