#229E28#229E28

#229E28 is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.1% C 0.187 H 143.4°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#229E28
RGBrgb(34, 158, 40)
HSLhsl(123, 65%, 38%)
HSVhsv(123, 78%, 62%)
CMYKcmyk(78.5%, 0%, 74.7%, 38%)
CIE-LABlab(57.02, -55.37, 49.28)
CIE-LCHlch(57.02, 74.12, 138.33°)
OKLaboklab(61.14% -0.15 0.1115)
OKLCHoklch(61.14% 0.187 143.4)
XYZxyz(13.2687, 24.9454, 6.1227)
Luminance0.2495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229E28 #9E2298
analogous
#5A9E22 #229E28 #229E66
triadic
#229E28 #28229E #9E2822
tetradic
#229E28 #225A9E #9E2298 #9E6622
square
#229E28 #225A9E #9E2298 #9E6622
split-complementary
#229E28 #66229E #9E225A
monochromatic
#0C390E #176C1B #229E28 #2DD035 #5EDC64

Accessibility & contrast

On white

3.51
#229E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#229E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229E28
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229E28#FFFFFF#000000##000000
##229E281.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F11
Deuteranopia (green-blind)
#948535
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #229e28;
/* rgb */ color: rgb(34, 158, 40);
/* oklch */ color: oklch(61.1% 0.187 143.4);
Tailwind
colors: {
  custom: {
    50: '#74bc6a',
    500: '#229e28',
    950: '#000000',
  },
}
SCSS
$custom: #229e28;
$custom-light: #74bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#229e28",
  "rgb": {
    "r": 34,
    "g": 158,
    "b": 40
  },
  "hsl": {
    "h": 122.903,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61136,
    "c": 0.18694,
    "h": 143.4
  },
  "luminance": 0.24947
}

Semantic roles & 50–950 ramp

primary
#229E28
secondary
#C15BBC
accent
#40DFE8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #229E28

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

Preview Lab → · Contrast checker → · Palette generator →

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