#229F40#229F40

#229F40 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.7% C 0.171 H 146.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#229F40
RGBrgb(34, 159, 64)
HSLhsl(134, 65%, 38%)
HSVhsv(134, 79%, 62%)
CMYKcmyk(78.6%, 0%, 59.7%, 37.6%)
CIE-LABlab(57.56, -53.14, 39.60)
CIE-LCHlch(57.56, 66.27, 143.31°)
OKLaboklab(61.65% -0.143 0.0937)
OKLCHoklch(61.65% 0.171 146.8)
XYZxyz(13.9822, 25.5049, 9.0355)
Luminance0.2551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229F40 #9F2281
analogous
#429F22 #229F40 #229F7E
triadic
#229F40 #40229F #9F4022
tetradic
#229F40 #22429F #9F2281 #9F7E22
square
#229F40 #22429F #9F2281 #9F7E22
split-complementary
#229F40 #7E229F #9F2242
monochromatic
#0C3A17 #176D2C #229F40 #2DD154 #5FDD7D

Accessibility & contrast

On white

3.44
#229F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#229F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229F40
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229F40#FFFFFF#000000##000000
##229F401.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19036
Deuteranopia (green-blind)
#938648
Tritanopia (blue-blind)
#009B8A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #229f40;
/* rgb */ color: rgb(34, 159, 64);
/* oklch */ color: oklch(61.7% 0.171 146.8);
Tailwind
colors: {
  custom: {
    50: '#73bd78',
    500: '#229f40',
    950: '#000000',
  },
}
SCSS
$custom: #229f40;
$custom-light: #73bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#229f40",
  "rgb": {
    "r": 34,
    "g": 159,
    "b": 64
  },
  "hsl": {
    "h": 134.4,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61653,
    "c": 0.17093,
    "h": 146.8
  },
  "luminance": 0.25507
}

Semantic roles & 50–950 ramp

primary
#229F40
secondary
#C15BA9
accent
#40C0E8
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #229F40

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

Preview Lab → · Contrast checker → · Palette generator →

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