#2D9826#2D9826

#2D9826 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.7% C 0.178 H 142.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2D9826
RGBrgb(45, 152, 38)
HSLhsl(116, 60%, 37%)
HSVhsv(116, 75%, 60%)
CMYKcmyk(70.4%, 0%, 75%, 40.4%)
CIE-LABlab(55.23, -51.68, 48.28)
CIE-LCHlch(55.23, 70.72, 136.95°)
OKLaboklab(59.71% -0.1407 0.1091)
OKLCHoklch(59.71% 0.178 142.2)
XYZxyz(12.6596, 23.1529, 5.6351)
Luminance0.2315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9826 #912698
analogous
#669826 #2D9826 #269858
triadic
#2D9826 #262D98 #98262D
tetradic
#2D9826 #266698 #912698 #985826
square
#2D9826 #266698 #912698 #985826
split-complementary
#2D9826 #582698 #982666
monochromatic
#10360E #1F671A #2D9826 #3BC932 #68D761

Accessibility & contrast

On white

3.73
#2D9826 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#2D9826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9826
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9826#FFFFFF#000000##000000
##2D98261.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8910
Deuteranopia (green-blind)
#8F8132
Tritanopia (blue-blind)
#109382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2d9826;
/* rgb */ color: rgb(45, 152, 38);
/* oklch */ color: oklch(59.7% 0.178 142.2);
Tailwind
colors: {
  custom: {
    50: '#76b768',
    500: '#2d9826',
    950: '#000000',
  },
}
SCSS
$custom: #2d9826;
$custom-light: #76b768;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9826",
  "rgb": {
    "r": 45,
    "g": 152,
    "b": 38
  },
  "hsl": {
    "h": 116.316,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59705,
    "c": 0.17803,
    "h": 142.2
  },
  "luminance": 0.23154
}

Semantic roles & 50–950 ramp

primary
#2D9826
secondary
#B75DBD
accent
#45E3D9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2D9826

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

Preview Lab → · Contrast checker → · Palette generator →

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