#2D9020#2D9020

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

Color values

HEX#2D9020
RGBrgb(45, 144, 32)
HSLhsl(113, 64%, 35%)
HSVhsv(113, 78%, 56%)
CMYKcmyk(68.7%, 0%, 77.8%, 43.5%)
CIE-LABlab(52.52, -49.36, 47.74)
CIE-LCHlch(52.52, 68.67, 135.96°)
OKLaboklab(57.44% -0.1347 0.1072)
OKLCHoklch(57.44% 0.172 141.5)
XYZxyz(11.3155, 20.6075, 4.7475)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9020 #832090
analogous
#659020 #2D9020 #20904B
triadic
#2D9020 #202D90 #90202D
tetradic
#2D9020 #206590 #832090 #904B20
square
#2D9020 #206590 #832090 #904B20
split-complementary
#2D9020 #4B2090 #902065
monochromatic
#0E2C0A #1D5E15 #2D9020 #3DC22B #62D952

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D9020#FFFFFF#000000##000000
##2D90201.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)
#948206
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#188B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d9020;
/* rgb */ color: rgb(45, 144, 32);
/* oklch */ color: oklch(57.4% 0.172 141.5);
Tailwind
colors: {
  custom: {
    50: '#75b164',
    500: '#2d9020',
    950: '#000000',
  },
}
SCSS
$custom: #2d9020;
$custom-light: #75b164;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9020",
  "rgb": {
    "r": 45,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 113.036,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57444,
    "c": 0.17214,
    "h": 141.5
  },
  "luminance": 0.20609
}

Semantic roles & 50–950 ramp

primary
#2D9020
secondary
#AF50BC
accent
#41E7D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D9020

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

Preview Lab → · Contrast checker → · Palette generator →

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