#229545#229545

#229545 is a mid, vivid green. Relative luminance 0.223; OKLCH L 59.0% C 0.154 H 148.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#229545
RGBrgb(34, 149, 69)
HSLhsl(138, 63%, 36%)
HSVhsv(138, 77%, 58%)
CMYKcmyk(77.2%, 0%, 53.7%, 41.6%)
CIE-LABlab(54.31, -48.90, 33.24)
CIE-LCHlch(54.31, 59.13, 145.80°)
OKLaboklab(58.97% -0.1315 0.0801)
OKLCHoklch(58.97% 0.154 148.7)
XYZxyz(12.4803, 22.2632, 9.2685)
Luminance0.2226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229545 #952272
analogous
#389522 #229545 #22957E
triadic
#229545 #452295 #954522
tetradic
#229545 #223895 #952272 #957E22
square
#229545 #223895 #952272 #957E22
split-complementary
#229545 #7E2295 #952238
monochromatic
#0B3117 #17632E #229545 #2DC75C #58D980

Accessibility & contrast

On white

3.85
#229545 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#229545 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229545
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229545#FFFFFF#000000##000000
##2295451.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96873E
Deuteranopia (green-blind)
#897E4B
Tritanopia (blue-blind)
#009283
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #229545;
/* rgb */ color: rgb(34, 149, 69);
/* oklch */ color: oklch(59.0% 0.154 148.7);
Tailwind
colors: {
  custom: {
    50: '#70b57a',
    500: '#229545',
    950: '#000000',
  },
}
SCSS
$custom: #229545;
$custom-light: #70b57a;
$custom-dark: #000000;
JSON
{
  "hex": "#229545",
  "rgb": {
    "r": 34,
    "g": 149,
    "b": 69
  },
  "hsl": {
    "h": 138.261,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58971,
    "c": 0.15391,
    "h": 148.7
  },
  "luminance": 0.22265
}

Semantic roles & 50–950 ramp

primary
#229545
secondary
#BD569E
accent
#42B4E6
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #229545

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

Preview Lab → · Contrast checker → · Palette generator →

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