#2D8023#2D8023

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

Color values

HEX#2D8023
RGBrgb(45, 128, 35)
HSLhsl(114, 57%, 32%)
HSVhsv(114, 73%, 50%)
CMYKcmyk(64.8%, 0%, 72.7%, 49.8%)
CIE-LABlab(47.13, -43.33, 41.15)
CIE-LCHlch(47.13, 59.76, 136.47°)
OKLaboklab(52.99% -0.1182 0.0938)
OKLCHoklch(52.99% 0.151 141.6)
XYZxyz(9.1043, 16.1167, 4.2208)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8023 #762380
analogous
#5C8023 #2D8023 #238047
triadic
#2D8023 #232D80 #80232D
tetradic
#2D8023 #235C80 #762380 #804723
square
#2D8023 #235C80 #762380 #804723
split-complementary
#2D8023 #472380 #80235C
monochromatic
#0B2009 #1C5016 #2D8023 #3EB030 #5CCF4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8023#FFFFFF#000000##FFFFFF
##2D80231.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)
#837414
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#1F7C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d8023;
/* rgb */ color: rgb(45, 128, 35);
/* oklch */ color: oklch(53.0% 0.151 141.6);
Tailwind
colors: {
  custom: {
    50: '#71a664',
    500: '#2d8023',
    950: '#000000',
  },
}
SCSS
$custom: #2d8023;
$custom-light: #71a664;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8023",
  "rgb": {
    "r": 45,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 113.548,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52987,
    "c": 0.15093,
    "h": 141.6
  },
  "luminance": 0.16118
}

Semantic roles & 50–950 ramp

primary
#2D8023
secondary
#A74DB2
accent
#47E0D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D8023

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

Preview Lab → · Contrast checker → · Palette generator →

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