#2D9021#2D9021

#2D9021 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.172 H 141.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2D9021
RGBrgb(45, 144, 33)
HSLhsl(114, 63%, 35%)
HSVhsv(114, 77%, 56%)
CMYKcmyk(68.7%, 0%, 77.1%, 43.5%)
CIE-LABlab(52.52, -49.29, 47.39)
CIE-LCHlch(52.52, 68.38, 136.12°)
OKLaboklab(57.45% -0.1345 0.1066)
OKLCHoklch(57.45% 0.172 141.6)
XYZxyz(11.3293, 20.6130, 4.8202)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9021 #842190
analogous
#649021 #2D9021 #21904D
triadic
#2D9021 #212D90 #90212D
tetradic
#2D9021 #216490 #842190 #904D21
square
#2D9021 #216490 #842190 #904D21
split-complementary
#2D9021 #4D2190 #902164
monochromatic
#0E2C0A #1D5E16 #2D9021 #3DC22C #62D854

Accessibility & contrast

On white

4.10
#2D9021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#2D9021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9021
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9021#FFFFFF#000000##000000
##2D90211.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948208
Deuteranopia (green-blind)
#887A2D
Tritanopia (blue-blind)
#178B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d9021;
/* rgb */ color: rgb(45, 144, 33);
/* oklch */ color: oklch(57.5% 0.172 141.6);
Tailwind
colors: {
  custom: {
    50: '#75b165',
    500: '#2d9021',
    950: '#000000',
  },
}
SCSS
$custom: #2d9021;
$custom-light: #75b165;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9021",
  "rgb": {
    "r": 45,
    "g": 144,
    "b": 33
  },
  "hsl": {
    "h": 113.514,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57451,
    "c": 0.17158,
    "h": 141.6
  },
  "luminance": 0.20614
}

Semantic roles & 50–950 ramp

primary
#2D9021
secondary
#B051BB
accent
#42E6D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D9021

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

Preview Lab → · Contrast checker → · Palette generator →

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