#2D8A26#2D8A26

#2D8A26 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.161 H 142.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2D8A26
RGBrgb(45, 138, 38)
HSLhsl(116, 57%, 35%)
HSVhsv(116, 72%, 54%)
CMYKcmyk(67.4%, 0%, 72.5%, 45.9%)
CIE-LABlab(50.54, -46.74, 43.48)
CIE-LCHlch(50.54, 63.84, 137.07°)
OKLaboklab(55.82% -0.1273 0.0991)
OKLCHoklch(55.82% 0.161 142.1)
XYZxyz(10.5199, 18.8737, 4.9219)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A26 #83268A
analogous
#5F8A26 #2D8A26 #268A51
triadic
#2D8A26 #262D8A #8A262D
tetradic
#2D8A26 #265F8A #83268A #8A5126
square
#2D8A26 #265F8A #83268A #8A5126
split-complementary
#2D8A26 #51268A #8A265F
monochromatic
#0E2A0C #1D5A19 #2D8A26 #3DBA33 #62D159

Accessibility & contrast

On white

4.40
#2D8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2D8A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8A26
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8A26#FFFFFF#000000##000000
##2D8A261.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D16
Deuteranopia (green-blind)
#827530
Tritanopia (blue-blind)
#198676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d8a26;
/* rgb */ color: rgb(45, 138, 38);
/* oklch */ color: oklch(55.8% 0.161 142.1);
Tailwind
colors: {
  custom: {
    50: '#73ad66',
    500: '#2d8a26',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a26;
$custom-light: #73ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a26",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 115.8,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55818,
    "c": 0.16132,
    "h": 142.1
  },
  "luminance": 0.18875
}

Semantic roles & 50–950 ramp

primary
#2D8A26
secondary
#AF56B6
accent
#48E0D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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