#229540#229540

#229540 is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.158 H 147.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#229540
RGBrgb(34, 149, 64)
HSLhsl(136, 63%, 36%)
HSVhsv(136, 77%, 58%)
CMYKcmyk(77.2%, 0%, 57%, 41.6%)
CIE-LABlab(54.24, -49.65, 35.68)
CIE-LCHlch(54.24, 61.14, 144.30°)
OKLaboklab(58.9% -0.1336 0.0851)
OKLCHoklch(58.9% 0.158 147.5)
XYZxyz(12.3316, 22.2037, 8.4853)
Luminance0.2220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229540 #952277
analogous
#3D9522 #229540 #229579
triadic
#229540 #402295 #954022
tetradic
#229540 #223D95 #952277 #957922
square
#229540 #223D95 #952277 #957922
split-complementary
#229540 #792295 #95223D
monochromatic
#0B3115 #17632B #229540 #2DC755 #58D97A

Accessibility & contrast

On white

3.86
#229540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#229540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229540
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229540#FFFFFF#000000##000000
##2295401.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978738
Deuteranopia (green-blind)
#8A7E47
Tritanopia (blue-blind)
#009282
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #229540;
/* rgb */ color: rgb(34, 149, 64);
/* oklch */ color: oklch(58.9% 0.158 147.5);
Tailwind
colors: {
  custom: {
    50: '#70b577',
    500: '#229540',
    950: '#000000',
  },
}
SCSS
$custom: #229540;
$custom-light: #70b577;
$custom-dark: #000000;
JSON
{
  "hex": "#229540",
  "rgb": {
    "r": 34,
    "g": 149,
    "b": 64
  },
  "hsl": {
    "h": 135.652,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58899,
    "c": 0.15838,
    "h": 147.5
  },
  "luminance": 0.22205
}

Semantic roles & 50–950 ramp

primary
#229540
secondary
#BD56A2
accent
#42BBE6
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #229540

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

Preview Lab → · Contrast checker → · Palette generator →

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