#2DA228#2DA228

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

Color values

HEX#2DA228
RGBrgb(45, 162, 40)
HSLhsl(118, 60%, 40%)
HSVhsv(118, 75%, 64%)
CMYKcmyk(72.2%, 0%, 75.3%, 36.5%)
CIE-LABlab(58.56, -54.91, 50.89)
CIE-LCHlch(58.56, 74.86, 137.17°)
OKLaboklab(62.47% -0.1493 0.1148)
OKLCHoklch(62.47% 0.188 142.4)
XYZxyz(14.3847, 26.5502, 6.3737)
Luminance0.2655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DA228 #9D28A2
analogous
#6AA228 #2DA228 #28A260
triadic
#2DA228 #282DA2 #A2282D
tetradic
#2DA228 #286AA2 #9D28A2 #A26028
square
#2DA228 #286AA2 #9D28A2 #A26028
split-complementary
#2DA228 #6028A2 #A2286A
monochromatic
#124010 #1F711C #2DA228 #3FCE39 #6FDA6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2DA228#FFFFFF#000000##000000
##2DA2281.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)
#A6920F
Deuteranopia (green-blind)
#988935
Tritanopia (blue-blind)
#059D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2da228;
/* rgb */ color: rgb(45, 162, 40);
/* oklch */ color: oklch(62.5% 0.188 142.4);
Tailwind
colors: {
  custom: {
    50: '#78bf6a',
    500: '#2da228',
    950: '#000000',
  },
}
SCSS
$custom: #2da228;
$custom-light: #78bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2da228",
  "rgb": {
    "r": 45,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 117.541,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62469,
    "c": 0.18835,
    "h": 142.4
  },
  "luminance": 0.26552
}

Semantic roles & 50–950 ramp

primary
#2DA228
secondary
#BD65C1
accent
#44E4DD
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2DA228

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

Preview Lab → · Contrast checker → · Palette generator →

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