#2DB228#2DB228

#2DB228 is a light, highly saturated green. Relative luminance 0.326; OKLCH L 66.8% C 0.206 H 142.5°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2DB228
RGBrgb(45, 178, 40)
HSLhsl(118, 63%, 43%)
HSVhsv(118, 78%, 70%)
CMYKcmyk(74.7%, 0%, 77.5%, 30.2%)
CIE-LABlab(63.79, -60.12, 56.06)
CIE-LCHlch(63.79, 82.20, 137.00°)
OKLaboklab(66.82% -0.1634 0.1256)
OKLCHoklch(66.82% 0.206 142.5)
XYZxyz(17.3845, 32.5499, 7.3736)
Luminance0.3255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DB228 #AD28B2
analogous
#72B228 #2DB228 #28B268
triadic
#2DB228 #282DB2 #B2282D
tetradic
#2DB228 #2872B2 #AD28B2 #B26828
square
#2DB228 #2872B2 #AD28B2 #B26828
split-complementary
#2DB228 #6828B2 #B22872
monochromatic
#144E12 #20801D #2DB228 #48D543 #78E075

Accessibility & contrast

On white

2.80
#2DB228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#2DB228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2DB228
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DB228#FFFFFF#000000##000000
##2DB2281.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A103
Deuteranopia (green-blind)
#A79738
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #2db228;
/* rgb */ color: rgb(45, 178, 40);
/* oklch */ color: oklch(66.8% 0.206 142.5);
Tailwind
colors: {
  custom: {
    50: '#7cca6c',
    500: '#2db228',
    950: '#000000',
  },
}
SCSS
$custom: #2db228;
$custom-light: #7cca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2db228",
  "rgb": {
    "r": 45,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 117.826,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.6682,
    "c": 0.20612,
    "h": 142.5
  },
  "luminance": 0.32552
}

Semantic roles & 50–950 ramp

primary
#2DB228
secondary
#C46FC7
accent
#41E6E0
background
#F8FCF6
surface
#EFF9EC
border
#CAD2C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2DB228

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

Preview Lab → · Contrast checker → · Palette generator →

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