#2D8B26#2D8B26

#2D8B26 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.163 H 142.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2D8B26
RGBrgb(45, 139, 38)
HSLhsl(116, 57%, 35%)
HSVhsv(116, 73%, 55%)
CMYKcmyk(67.6%, 0%, 72.7%, 45.5%)
CIE-LABlab(50.88, -47.10, 43.83)
CIE-LCHlch(50.88, 64.34, 137.06°)
OKLaboklab(56.1% -0.1283 0.0998)
OKLCHoklch(56.1% 0.163 142.1)
XYZxyz(10.6641, 19.1620, 4.9700)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8B26 #84268B
analogous
#5F8B26 #2D8B26 #268B52
triadic
#2D8B26 #262D8B #8B262D
tetradic
#2D8B26 #265F8B #84268B #8B5226
square
#2D8B26 #265F8B #84268B #8B5226
split-complementary
#2D8B26 #52268B #8B265F
monochromatic
#0E2B0C #1D5B19 #2D8B26 #3DBB33 #62D25A

Accessibility & contrast

On white

4.35
#2D8B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2D8B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8B26
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8B26#FFFFFF#000000##000000
##2D8B261.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E16
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#198777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d8b26;
/* rgb */ color: rgb(45, 139, 38);
/* oklch */ color: oklch(56.1% 0.163 142.1);
Tailwind
colors: {
  custom: {
    50: '#73ae67',
    500: '#2d8b26',
    950: '#000000',
  },
}
SCSS
$custom: #2d8b26;
$custom-light: #73ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8b26",
  "rgb": {
    "r": 45,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 115.842,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56097,
    "c": 0.16254,
    "h": 142.1
  },
  "luminance": 0.19163
}

Semantic roles & 50–950 ramp

primary
#2D8B26
secondary
#B056B7
accent
#47E0D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8B26

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

Preview Lab → · Contrast checker → · Palette generator →

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