#2D8F26#2D8F26

#2D8F26 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.167 H 142.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2D8F26
RGBrgb(45, 143, 38)
HSLhsl(116, 58%, 35%)
HSVhsv(116, 73%, 56%)
CMYKcmyk(68.5%, 0%, 73.4%, 43.9%)
CIE-LABlab(52.22, -48.53, 45.22)
CIE-LCHlch(52.22, 66.33, 137.03°)
OKLaboklab(57.21% -0.1322 0.1027)
OKLCHoklch(57.21% 0.167 142.1)
XYZxyz(11.2539, 20.3416, 5.1666)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F26 #88268F
analogous
#618F26 #2D8F26 #268F53
triadic
#2D8F26 #262D8F #8F262D
tetradic
#2D8F26 #26618F #88268F #8F5326
square
#2D8F26 #26618F #88268F #8F5326
split-complementary
#2D8F26 #53268F #8F2661
monochromatic
#0F2E0C #1E5F19 #2D8F26 #3CBF33 #64D45C

Accessibility & contrast

On white

4.14
#2D8F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2D8F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8F26
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8F26#FFFFFF#000000##000000
##2D8F261.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928114
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#178B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d8f26;
/* rgb */ color: rgb(45, 143, 38);
/* oklch */ color: oklch(57.2% 0.167 142.1);
Tailwind
colors: {
  custom: {
    50: '#74b167',
    500: '#2d8f26',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f26;
$custom-light: #74b167;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f26",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 116,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57211,
    "c": 0.16738,
    "h": 142.1
  },
  "luminance": 0.20343
}

Semantic roles & 50–950 ramp

primary
#2D8F26
secondary
#B258B9
accent
#47E1D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D8F26

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

Preview Lab → · Contrast checker → · Palette generator →

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