#2D8523#2D8523

#2D8523 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.157 H 141.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2D8523
RGBrgb(45, 133, 35)
HSLhsl(114, 58%, 33%)
HSVhsv(114, 74%, 52%)
CMYKcmyk(66.2%, 0%, 73.7%, 47.8%)
CIE-LABlab(48.83, -45.18, 42.91)
CIE-LCHlch(48.83, 62.31, 136.48°)
OKLaboklab(54.39% -0.1233 0.0975)
OKLCHoklch(54.39% 0.157 141.7)
XYZxyz(9.7726, 17.4533, 4.4436)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8523 #7B2385
analogous
#5E8523 #2D8523 #23854A
triadic
#2D8523 #232D85 #85232D
tetradic
#2D8523 #235E85 #7B2385 #854A23
square
#2D8523 #235E85 #7B2385 #854A23
split-complementary
#2D8523 #4A2385 #85235E
monochromatic
#0C2409 #1D5516 #2D8523 #3DB530 #5ED151

Accessibility & contrast

On white

4.68
#2D8523 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2D8523 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8523
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8523#FFFFFF#000000##FFFFFF
##2D85231.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887813
Deuteranopia (green-blind)
#7E712D
Tritanopia (blue-blind)
#1C8172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d8523;
/* rgb */ color: rgb(45, 133, 35);
/* oklch */ color: oklch(54.4% 0.157 141.7);
Tailwind
colors: {
  custom: {
    50: '#72a964',
    500: '#2d8523',
    950: '#000000',
  },
}
SCSS
$custom: #2d8523;
$custom-light: #72a964;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8523",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 113.878,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54393,
    "c": 0.15715,
    "h": 141.7
  },
  "luminance": 0.17454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D8523

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

Preview Lab → · Contrast checker → · Palette generator →

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