#2DA227#2DA227

#2DA227 is a light, vivid green. Relative luminance 0.265; OKLCH L 62.5% C 0.189 H 142.3°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2DA227
RGBrgb(45, 162, 39)
HSLhsl(117, 61%, 39%)
HSVhsv(117, 76%, 64%)
CMYKcmyk(72.2%, 0%, 75.9%, 36.5%)
CIE-LABlab(58.55, -54.98, 51.24)
CIE-LCHlch(58.55, 75.16, 137.02°)
OKLaboklab(62.46% -0.1496 0.1154)
OKLCHoklch(62.46% 0.189 142.3)
XYZxyz(14.3679, 26.5434, 6.2853)
Luminance0.2655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DA227 #9C27A2
analogous
#6BA227 #2DA227 #27A25F
triadic
#2DA227 #272DA2 #A2272D
tetradic
#2DA227 #276BA2 #9C27A2 #A25F27
square
#2DA227 #276BA2 #9C27A2 #A25F27
split-complementary
#2DA227 #5F27A2 #A2276B
monochromatic
#123F0F #1F711B #2DA227 #3FCF37 #6EDB69

Accessibility & contrast

On white

3.33
#2DA227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#2DA227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2DA227
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DA227#FFFFFF#000000##000000
##2DA2271.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6920D
Deuteranopia (green-blind)
#988934
Tritanopia (blue-blind)
#059D8A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2da227;
/* rgb */ color: rgb(45, 162, 39);
/* oklch */ color: oklch(62.5% 0.189 142.3);
Tailwind
colors: {
  custom: {
    50: '#78bf6a',
    500: '#2da227',
    950: '#000000',
  },
}
SCSS
$custom: #2da227;
$custom-light: #78bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2da227",
  "rgb": {
    "r": 45,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 117.073,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62462,
    "c": 0.18892,
    "h": 142.3
  },
  "luminance": 0.26545
}

Semantic roles & 50–950 ramp

primary
#2DA227
secondary
#BC64C1
accent
#43E4DC
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2DA227

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

Preview Lab → · Contrast checker → · Palette generator →

#2DA227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva