#2D8525#2D8525

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

Color values

HEX#2D8525
RGBrgb(45, 133, 37)
HSLhsl(115, 56%, 33%)
HSVhsv(115, 72%, 52%)
CMYKcmyk(66.2%, 0%, 72.2%, 47.8%)
CIE-LABlab(48.84, -45.01, 42.12)
CIE-LCHlch(48.84, 61.64, 136.90°)
OKLaboklab(54.41% -0.1227 0.0961)
OKLCHoklch(54.41% 0.156 141.9)
XYZxyz(9.8031, 17.4655, 4.6045)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8525 #7D2585
analogous
#5D8525 #2D8525 #25854D
triadic
#2D8525 #252D85 #85252D
tetradic
#2D8525 #255D85 #7D2585 #854D25
square
#2D8525 #255D85 #7D2585 #854D25
split-complementary
#2D8525 #4D2585 #85255D
monochromatic
#0D250A #1D5518 #2D8525 #3DB532 #5FD055

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8525#FFFFFF#000000##FFFFFF
##2D85251.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)
#887816
Deuteranopia (green-blind)
#7E712E
Tritanopia (blue-blind)
#1C8172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d8525;
/* rgb */ color: rgb(45, 133, 37);
/* oklch */ color: oklch(54.4% 0.156 141.9);
Tailwind
colors: {
  custom: {
    50: '#72a965',
    500: '#2d8525',
    950: '#000000',
  },
}
SCSS
$custom: #2d8525;
$custom-light: #72a965;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8525",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 37
  },
  "hsl": {
    "h": 115,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5441,
    "c": 0.15582,
    "h": 141.9
  },
  "luminance": 0.17467
}

Semantic roles & 50–950 ramp

primary
#2D8525
secondary
#AC52B4
accent
#48E0D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8525

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

Preview Lab → · Contrast checker → · Palette generator →

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