#2D701A#2D701A

#2D701A is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.137 H 139.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2D701A
RGBrgb(45, 112, 26)
HSLhsl(107, 62%, 27%)
HSVhsv(107, 77%, 44%)
CMYKcmyk(59.8%, 0%, 76.8%, 56.1%)
CIE-LABlab(41.56, -37.92, 39.09)
CIE-LCHlch(41.56, 54.46, 134.13°)
OKLaboklab(48.37% -0.1042 0.0882)
OKLCHoklch(48.37% 0.137 139.7)
XYZxyz(7.0625, 12.2202, 2.9636)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D701A #5D1A70
analogous
#58701A #2D701A #1A7032
triadic
#2D701A #1A2D70 #701A2D
tetradic
#2D701A #1A5870 #5D1A70 #70321A
square
#2D701A #1A5870 #5D1A70 #70321A
split-complementary
#2D701A #321A70 #701A58
monochromatic
#0A1906 #193E0E #2D701A #41A226 #57D034

Accessibility & contrast

On white

6.10
#2D701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2D701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D701A
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D701A#FFFFFF#000000##FFFFFF
##2D701A1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650A
Deuteranopia (green-blind)
#6B6023
Tritanopia (blue-blind)
#256C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d701a;
/* rgb */ color: rgb(45, 112, 26);
/* oklch */ color: oklch(48.4% 0.137 139.7);
Tailwind
colors: {
  custom: {
    50: '#6e9a5d',
    500: '#2d701a',
    950: '#000000',
  },
}
SCSS
$custom: #2d701a;
$custom-light: #6e9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d701a",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 106.744,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48368,
    "c": 0.13651,
    "h": 139.7
  },
  "luminance": 0.12221
}

Semantic roles & 50–950 ramp

primary
#2D701A
secondary
#8F41A5
accent
#42E5C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D701A

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

Preview Lab → · Contrast checker → · Palette generator →

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