#228C36#228C36

#228C36 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.155 H 146.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#228C36
RGBrgb(34, 140, 54)
HSLhsl(131, 61%, 34%)
HSVhsv(131, 76%, 55%)
CMYKcmyk(75.7%, 0%, 61.4%, 45.1%)
CIE-LABlab(51.11, -47.81, 36.89)
CIE-LCHlch(51.11, 60.39, 142.34°)
OKLaboklab(56.26% -0.1289 0.087)
OKLCHoklch(56.26% 0.155 146)
XYZxyz(10.7029, 19.3614, 6.6624)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C36 #8C2278
analogous
#438C22 #228C36 #228C6B
triadic
#228C36 #36228C #8C3622
tetradic
#228C36 #22438C #8C2278 #8C6B22
square
#228C36 #22438C #8C2278 #8C6B22
split-complementary
#228C36 #6B228C #8C2243
monochromatic
#0A2A10 #165B23 #228C36 #2EBD49 #53D56C

Accessibility & contrast

On white

4.31
#228C36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#228C36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C36
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C36#FFFFFF#000000##000000
##228C361.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2D
Deuteranopia (green-blind)
#82763D
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228c36;
/* rgb */ color: rgb(34, 140, 54);
/* oklch */ color: oklch(56.3% 0.155 146.0);
Tailwind
colors: {
  custom: {
    50: '#6faf70',
    500: '#228c36',
    950: '#000000',
  },
}
SCSS
$custom: #228c36;
$custom-light: #6faf70;
$custom-dark: #000000;
JSON
{
  "hex": "#228c36",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 54
  },
  "hsl": {
    "h": 131.321,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56264,
    "c": 0.15547,
    "h": 146
  },
  "luminance": 0.19363
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228C36

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

Preview Lab → · Contrast checker → · Palette generator →

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