#2D8E26#2D8E26

#2D8E26 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.166 H 142.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2D8E26
RGBrgb(45, 142, 38)
HSLhsl(116, 58%, 35%)
HSVhsv(116, 73%, 56%)
CMYKcmyk(68.3%, 0%, 73.2%, 44.3%)
CIE-LABlab(51.89, -48.18, 44.87)
CIE-LCHlch(51.89, 65.84, 137.04°)
OKLaboklab(56.93% -0.1312 0.102)
OKLCHoklch(56.93% 0.166 142.1)
XYZxyz(11.1044, 20.0427, 5.1168)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8E26 #87268E
analogous
#618E26 #2D8E26 #268E53
triadic
#2D8E26 #262D8E #8E262D
tetradic
#2D8E26 #26618E #87268E #8E5326
square
#2D8E26 #26618E #87268E #8E5326
split-complementary
#2D8E26 #53268E #8E2661
monochromatic
#0E2D0C #1E5E19 #2D8E26 #3CBE33 #63D35B

Accessibility & contrast

On white

4.19
#2D8E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#2D8E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8E26
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8E26#FFFFFF#000000##000000
##2D8E261.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918015
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#178A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8e26;
/* rgb */ color: rgb(45, 142, 38);
/* oklch */ color: oklch(56.9% 0.166 142.1);
Tailwind
colors: {
  custom: {
    50: '#74b067',
    500: '#2d8e26',
    950: '#000000',
  },
}
SCSS
$custom: #2d8e26;
$custom-light: #74b067;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8e26",
  "rgb": {
    "r": 45,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 115.962,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56933,
    "c": 0.16618,
    "h": 142.1
  },
  "luminance": 0.20044
}

Semantic roles & 50–950 ramp

primary
#2D8E26
secondary
#B258B8
accent
#47E1D7
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D8E26

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

Preview Lab → · Contrast checker → · Palette generator →

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