#2D8E23#2D8E23

#2D8E23 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.168 H 141.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2D8E23
RGBrgb(45, 142, 35)
HSLhsl(114, 60%, 35%)
HSVhsv(114, 75%, 56%)
CMYKcmyk(68.3%, 0%, 75.4%, 44.3%)
CIE-LABlab(51.86, -48.43, 46.00)
CIE-LCHlch(51.86, 66.80, 136.47°)
OKLaboklab(56.91% -0.132 0.104)
OKLCHoklch(56.91% 0.168 141.8)
XYZxyz(11.0580, 20.0241, 4.8721)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8E23 #84238E
analogous
#628E23 #2D8E23 #238E4F
triadic
#2D8E23 #232D8E #8E232D
tetradic
#2D8E23 #23628E #84238E #8E4F23
square
#2D8E23 #23628E #84238E #8E4F23
split-complementary
#2D8E23 #4F238E #8E2362
monochromatic
#0E2C0B #1D5D17 #2D8E23 #3DBF2F #62D556

Accessibility & contrast

On white

4.20
#2D8E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#2D8E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8E23
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8E23#FFFFFF#000000##000000
##2D8E231.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800E
Deuteranopia (green-blind)
#86792E
Tritanopia (blue-blind)
#188A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8e23;
/* rgb */ color: rgb(45, 142, 35);
/* oklch */ color: oklch(56.9% 0.168 141.8);
Tailwind
colors: {
  custom: {
    50: '#74b065',
    500: '#2d8e23',
    950: '#000000',
  },
}
SCSS
$custom: #2d8e23;
$custom-light: #74b065;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8e23",
  "rgb": {
    "r": 45,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 114.393,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56909,
    "c": 0.16805,
    "h": 141.8
  },
  "luminance": 0.20025
}

Semantic roles & 50–950 ramp

primary
#2D8E23
secondary
#B053B9
accent
#44E4D5
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D8E23

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

Preview Lab → · Contrast checker → · Palette generator →

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