#2D8022#2D8022

#2D8022 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.152 H 141.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2D8022
RGBrgb(45, 128, 34)
HSLhsl(113, 58%, 32%)
HSVhsv(113, 73%, 50%)
CMYKcmyk(64.8%, 0%, 73.4%, 49.8%)
CIE-LABlab(47.12, -43.42, 41.55)
CIE-LCHlch(47.12, 60.10, 136.26°)
OKLaboklab(52.98% -0.1185 0.0945)
OKLCHoklch(52.98% 0.152 141.4)
XYZxyz(9.0896, 16.1108, 4.1438)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8022 #752280
analogous
#5C8022 #2D8022 #228046
triadic
#2D8022 #222D80 #80222D
tetradic
#2D8022 #225C80 #752280 #804622
square
#2D8022 #225C80 #752280 #804622
split-complementary
#2D8022 #462280 #80225C
monochromatic
#0B1F08 #1C5015 #2D8022 #3EB02F #5CD04D

Accessibility & contrast

On white

4.97
#2D8022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2D8022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8022
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8022#FFFFFF#000000##FFFFFF
##2D80221.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837413
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#1F7C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d8022;
/* rgb */ color: rgb(45, 128, 34);
/* oklch */ color: oklch(53.0% 0.152 141.4);
Tailwind
colors: {
  custom: {
    50: '#71a663',
    500: '#2d8022',
    950: '#000000',
  },
}
SCSS
$custom: #2d8022;
$custom-light: #71a663;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8022",
  "rgb": {
    "r": 45,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 112.979,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52978,
    "c": 0.1516,
    "h": 141.4
  },
  "luminance": 0.16112
}

Semantic roles & 50–950 ramp

primary
#2D8022
secondary
#A64BB2
accent
#47E1CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2D8022

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

Preview Lab → · Contrast checker → · Palette generator →

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