#2D6E1A#2D6E1A

#2D6E1A is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.134 H 139.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2D6E1A
RGBrgb(45, 110, 26)
HSLhsl(106, 62%, 27%)
HSVhsv(106, 76%, 43%)
CMYKcmyk(59.1%, 0%, 76.4%, 56.9%)
CIE-LABlab(40.87, -37.11, 38.39)
CIE-LCHlch(40.87, 53.39, 134.03°)
OKLaboklab(47.8% -0.102 0.0868)
OKLCHoklch(47.8% 0.134 139.6)
XYZxyz(6.8443, 11.7838, 2.8909)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6E1A #5B1A6E
analogous
#576E1A #2D6E1A #1A6E31
triadic
#2D6E1A #1A2D6E #6E1A2D
tetradic
#2D6E1A #1A576E #5B1A6E #6E311A
square
#2D6E1A #1A576E #5B1A6E #6E311A
split-complementary
#2D6E1A #311A6E #6E1A57
monochromatic
#0A1906 #193D0E #2D6E1A #41A026 #57CF34

Accessibility & contrast

On white

6.26
#2D6E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2D6E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6E1A
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6E1A#FFFFFF#000000##FFFFFF
##2D6E1A1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640B
Deuteranopia (green-blind)
#695E22
Tritanopia (blue-blind)
#266A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d6e1a;
/* rgb */ color: rgb(45, 110, 26);
/* oklch */ color: oklch(47.8% 0.134 139.6);
Tailwind
colors: {
  custom: {
    50: '#6e985d',
    500: '#2d6e1a',
    950: '#000000',
  },
}
SCSS
$custom: #2d6e1a;
$custom-light: #6e985d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6e1a",
  "rgb": {
    "r": 45,
    "g": 110,
    "b": 26
  },
  "hsl": {
    "h": 106.429,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47796,
    "c": 0.13391,
    "h": 139.6
  },
  "luminance": 0.11784
}

Semantic roles & 50–950 ramp

primary
#2D6E1A
secondary
#8D41A3
accent
#43E5C0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2D6E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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