#2D8B23#2D8B23

#2D8B23 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.164 H 141.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2D8B23
RGBrgb(45, 139, 35)
HSLhsl(114, 60%, 34%)
HSVhsv(114, 75%, 55%)
CMYKcmyk(67.6%, 0%, 74.8%, 45.5%)
CIE-LABlab(50.85, -47.36, 44.98)
CIE-LCHlch(50.85, 65.32, 136.48°)
OKLaboklab(56.07% -0.1291 0.1018)
OKLCHoklch(56.07% 0.164 141.7)
XYZxyz(10.6176, 19.1434, 4.7253)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8B23 #81238B
analogous
#618B23 #2D8B23 #238B4D
triadic
#2D8B23 #232D8B #8B232D
tetradic
#2D8B23 #23618B #81238B #8B4D23
square
#2D8B23 #23618B #81238B #8B4D23
split-complementary
#2D8B23 #4D238B #8B2361
monochromatic
#0D290A #1D5A17 #2D8B23 #3DBC2F #61D454

Accessibility & contrast

On white

4.35
#2D8B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2D8B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8B23
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8B23#FFFFFF#000000##000000
##2D8B231.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E10
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#1A8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d8b23;
/* rgb */ color: rgb(45, 139, 35);
/* oklch */ color: oklch(56.1% 0.164 141.7);
Tailwind
colors: {
  custom: {
    50: '#74ae65',
    500: '#2d8b23',
    950: '#000000',
  },
}
SCSS
$custom: #2d8b23;
$custom-light: #74ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8b23",
  "rgb": {
    "r": 45,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 114.231,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56072,
    "c": 0.16446,
    "h": 141.7
  },
  "luminance": 0.19144
}

Semantic roles & 50–950 ramp

primary
#2D8B23
secondary
#AE52B8
accent
#45E3D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8B23

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

Preview Lab → · Contrast checker → · Palette generator →

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