#2D8526#2D8526

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

Color values

HEX#2D8526
RGBrgb(45, 133, 38)
HSLhsl(116, 56%, 34%)
HSVhsv(116, 71%, 52%)
CMYKcmyk(66.2%, 0%, 71.4%, 47.8%)
CIE-LABlab(48.85, -44.91, 41.71)
CIE-LCHlch(48.85, 61.29, 137.12°)
OKLaboklab(54.42% -0.1224 0.0954)
OKLCHoklch(54.42% 0.155 142.1)
XYZxyz(9.8190, 17.4719, 4.6883)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8526 #7E2685
analogous
#5C8526 #2D8526 #26854E
triadic
#2D8526 #262D85 #85262D
tetradic
#2D8526 #265C85 #7E2685 #854E26
square
#2D8526 #265C85 #7E2685 #854E26
split-complementary
#2D8526 #4E2685 #85265C
monochromatic
#0D260B #1D5518 #2D8526 #3DB534 #5FCF57

Accessibility & contrast

On white

4.67
#2D8526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D8526
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8526#FFFFFF#000000##FFFFFF
##2D85261.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d8526;
/* rgb */ color: rgb(45, 133, 38);
/* oklch */ color: oklch(54.4% 0.155 142.1);
Tailwind
colors: {
  custom: {
    50: '#72a966',
    500: '#2d8526',
    950: '#000000',
  },
}
SCSS
$custom: #2d8526;
$custom-light: #72a966;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8526",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 38
  },
  "hsl": {
    "h": 115.579,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54419,
    "c": 0.15514,
    "h": 142.1
  },
  "luminance": 0.17473
}

Semantic roles & 50–950 ramp

primary
#2D8526
secondary
#AC53B3
accent
#49DFD4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8526

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

Preview Lab → · Contrast checker → · Palette generator →

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