#228636#228636

#228636 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.148 H 146.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#228636
RGBrgb(34, 134, 54)
HSLhsl(132, 60%, 33%)
HSVhsv(132, 75%, 53%)
CMYKcmyk(74.6%, 0%, 59.7%, 47.5%)
CIE-LABlab(49.08, -45.64, 34.53)
CIE-LCHlch(49.08, 57.23, 142.89°)
OKLaboklab(54.58% -0.123 0.0818)
OKLCHoklch(54.58% 0.148 146.4)
XYZxyz(9.8499, 17.6555, 6.3781)
Luminance0.1766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228636 #862272
analogous
#408622 #228636 #228668
triadic
#228636 #362286 #863622
tetradic
#228636 #224086 #862272 #866822
square
#228636 #224086 #862272 #866822
split-complementary
#228636 #682286 #862240
monochromatic
#09240F #165522 #228636 #2EB74A #50D36A

Accessibility & contrast

On white

4.63
#228636 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#228636 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228636
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228636#FFFFFF#000000##FFFFFF
##2286361.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887A2E
Deuteranopia (green-blind)
#7C713C
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228636;
/* rgb */ color: rgb(34, 134, 54);
/* oklch */ color: oklch(54.6% 0.148 146.4);
Tailwind
colors: {
  custom: {
    50: '#6daa70',
    500: '#228636',
    950: '#000000',
  },
}
SCSS
$custom: #228636;
$custom-light: #6daa70;
$custom-dark: #000000;
JSON
{
  "hex": "#228636",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 54
  },
  "hsl": {
    "h": 132,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5458,
    "c": 0.14775,
    "h": 146.4
  },
  "luminance": 0.17657
}

Semantic roles & 50–950 ramp

primary
#228636
secondary
#B64EA1
accent
#45C3E3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228636

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

Preview Lab → · Contrast checker → · Palette generator →

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