#2D8623#2D8623

#2D8623 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.158 H 141.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2D8623
RGBrgb(45, 134, 35)
HSLhsl(114, 59%, 33%)
HSVhsv(114, 74%, 53%)
CMYKcmyk(66.4%, 0%, 73.9%, 47.5%)
CIE-LABlab(49.16, -45.55, 43.26)
CIE-LCHlch(49.16, 62.82, 136.48°)
OKLaboklab(54.67% -0.1242 0.0982)
OKLCHoklch(54.67% 0.158 141.7)
XYZxyz(9.9101, 17.7284, 4.4895)
Luminance0.1773 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8623 #7C2386
analogous
#5E8623 #2D8623 #23864A
triadic
#2D8623 #232D86 #86232D
tetradic
#2D8623 #235E86 #7C2386 #864A23
square
#2D8623 #235E86 #7C2386 #864A23
split-complementary
#2D8623 #4A2386 #86235E
monochromatic
#0C250A #1D5516 #2D8623 #3DB730 #5FD252

Accessibility & contrast

On white

4.62
#2D8623 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2D8623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8623
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8623#FFFFFF#000000##FFFFFF
##2D86231.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897912
Deuteranopia (green-blind)
#7F722D
Tritanopia (blue-blind)
#1C8273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d8623;
/* rgb */ color: rgb(45, 134, 35);
/* oklch */ color: oklch(54.7% 0.158 141.7);
Tailwind
colors: {
  custom: {
    50: '#72aa64',
    500: '#2d8623',
    950: '#000000',
  },
}
SCSS
$custom: #2d8623;
$custom-light: #72aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8623",
  "rgb": {
    "r": 45,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 113.939,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54673,
    "c": 0.15838,
    "h": 141.7
  },
  "luminance": 0.17729
}

Semantic roles & 50–950 ramp

primary
#2D8623
secondary
#AB4FB5
accent
#46E2D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8623

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

Preview Lab → · Contrast checker → · Palette generator →

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