#2D9821#2D9821

#2D9821 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.7% C 0.181 H 141.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2D9821
RGBrgb(45, 152, 33)
HSLhsl(114, 64%, 36%)
HSVhsv(114, 78%, 60%)
CMYKcmyk(70.4%, 0%, 78.3%, 40.4%)
CIE-LABlab(55.20, -52.05, 50.02)
CIE-LCHlch(55.20, 72.19, 136.14°)
OKLaboklab(59.67% -0.1419 0.112)
OKLCHoklch(59.67% 0.181 141.7)
XYZxyz(12.5842, 23.1228, 5.2385)
Luminance0.2312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9821 #8C2198
analogous
#699821 #2D9821 #219851
triadic
#2D9821 #212D98 #98212D
tetradic
#2D9821 #216998 #8C2198 #985121
square
#2D9821 #216998 #8C2198 #985121
split-complementary
#2D9821 #512198 #982169
monochromatic
#0F330B #1E6616 #2D9821 #3CCA2C #66DB59

Accessibility & contrast

On white

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

On black

5.62
#2D9821 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9821
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9821#FFFFFF#000000##000000
##2D98211.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8903
Deuteranopia (green-blind)
#8F812F
Tritanopia (blue-blind)
#129382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2d9821;
/* rgb */ color: rgb(45, 152, 33);
/* oklch */ color: oklch(59.7% 0.181 141.7);
Tailwind
colors: {
  custom: {
    50: '#77b766',
    500: '#2d9821',
    950: '#000000',
  },
}
SCSS
$custom: #2d9821;
$custom-light: #77b766;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9821",
  "rgb": {
    "r": 45,
    "g": 152,
    "b": 33
  },
  "hsl": {
    "h": 113.95,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5967,
    "c": 0.18082,
    "h": 141.7
  },
  "luminance": 0.23124
}

Semantic roles & 50–950 ramp

primary
#2D9821
secondary
#B456BF
accent
#40E7D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2D9821

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

Preview Lab → · Contrast checker → · Palette generator →

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