#2D8522#2D8522

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

Color values

HEX#2D8522
RGBrgb(45, 133, 34)
HSLhsl(113, 59%, 33%)
HSVhsv(113, 74%, 52%)
CMYKcmyk(66.2%, 0%, 74.4%, 47.8%)
CIE-LABlab(48.82, -45.27, 43.30)
CIE-LCHlch(48.82, 62.64, 136.27°)
OKLaboklab(54.38% -0.1235 0.0982)
OKLCHoklch(54.38% 0.158 141.5)
XYZxyz(9.7579, 17.4475, 4.3665)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8522 #7A2285
analogous
#5F8522 #2D8522 #228548
triadic
#2D8522 #222D85 #85222D
tetradic
#2D8522 #225F85 #7A2285 #854822
square
#2D8522 #225F85 #7A2285 #854822
split-complementary
#2D8522 #482285 #85225F
monochromatic
#0C2409 #1D5416 #2D8522 #3DB62E #5ED24F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8522#FFFFFF#000000##FFFFFF
##2D85221.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)
#887811
Deuteranopia (green-blind)
#7E712C
Tritanopia (blue-blind)
#1D8172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d8522;
/* rgb */ color: rgb(45, 133, 34);
/* oklch */ color: oklch(54.4% 0.158 141.5);
Tailwind
colors: {
  custom: {
    50: '#72a964',
    500: '#2d8522',
    950: '#000000',
  },
}
SCSS
$custom: #2d8522;
$custom-light: #72a964;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8522",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 113.333,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54384,
    "c": 0.1578,
    "h": 141.5
  },
  "luminance": 0.17448
}

Semantic roles & 50–950 ramp

primary
#2D8522
secondary
#AA4DB6
accent
#45E2D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8522

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

Preview Lab → · Contrast checker → · Palette generator →

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