#229B40#229B40

#229B40 is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.6% C 0.166 H 147.0°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#229B40
RGBrgb(34, 155, 64)
HSLhsl(135, 64%, 37%)
HSVhsv(135, 78%, 61%)
CMYKcmyk(78.1%, 0%, 58.7%, 39.2%)
CIE-LABlab(56.24, -51.76, 38.05)
CIE-LCHlch(56.24, 64.24, 143.68°)
OKLaboklab(60.55% -0.1393 0.0903)
OKLCHoklch(60.55% 0.166 147)
XYZxyz(13.3054, 24.1514, 8.8099)
Luminance0.2415 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229B40 #9B227D
analogous
#419B22 #229B40 #229B7D
triadic
#229B40 #40229B #9B4022
tetradic
#229B40 #22419B #9B227D #9B7D22
square
#229B40 #22419B #9B227D #9B7D22
split-complementary
#229B40 #7D229B #9B2241
monochromatic
#0C3717 #17692B #229B40 #2DCD55 #5CDB7C

Accessibility & contrast

On white

3.60
#229B40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#229B40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229B40
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229B40#FFFFFF#000000##000000
##229B401.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8D37
Deuteranopia (green-blind)
#8F8347
Tritanopia (blue-blind)
#009787
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #229b40;
/* rgb */ color: rgb(34, 155, 64);
/* oklch */ color: oklch(60.6% 0.166 147.0);
Tailwind
colors: {
  custom: {
    50: '#72ba78',
    500: '#229b40',
    950: '#000000',
  },
}
SCSS
$custom: #229b40;
$custom-light: #72ba78;
$custom-dark: #000000;
JSON
{
  "hex": "#229b40",
  "rgb": {
    "r": 34,
    "g": 155,
    "b": 64
  },
  "hsl": {
    "h": 134.876,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60554,
    "c": 0.16597,
    "h": 147
  },
  "luminance": 0.24153
}

Semantic roles & 50–950 ramp

primary
#229B40
secondary
#C059A6
accent
#41BEE7
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #229B40

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

Preview Lab → · Contrast checker → · Palette generator →

#229B40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva