#2D701C#2D701C

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

Color values

HEX#2D701C
RGBrgb(45, 112, 28)
HSLhsl(108, 60%, 27%)
HSVhsv(108, 75%, 44%)
CMYKcmyk(59.8%, 0%, 75%, 56.1%)
CIE-LABlab(41.58, -37.75, 38.30)
CIE-LCHlch(41.58, 53.78, 134.59°)
OKLaboklab(48.39% -0.1036 0.0869)
OKLCHoklch(48.39% 0.135 140)
XYZxyz(7.0856, 12.2295, 3.0855)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D701C #5F1C70
analogous
#57701C #2D701C #1C7035
triadic
#2D701C #1C2D70 #701C2D
tetradic
#2D701C #1C5770 #5F1C70 #70351C
square
#2D701C #1C5770 #5F1C70 #70351C
split-complementary
#2D701C #351C70 #701C57
monochromatic
#0A1806 #193F10 #2D701C #41A128 #57CD39

Accessibility & contrast

On white

6.09
#2D701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2D701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D701C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D701C#FFFFFF#000000##FFFFFF
##2D701C1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73660E
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#256C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d701c;
/* rgb */ color: rgb(45, 112, 28);
/* oklch */ color: oklch(48.4% 0.135 140.0);
Tailwind
colors: {
  custom: {
    50: '#6e9a5e',
    500: '#2d701c',
    950: '#000000',
  },
}
SCSS
$custom: #2d701c;
$custom-light: #6e9a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d701c",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 107.857,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48385,
    "c": 0.13519,
    "h": 140
  },
  "luminance": 0.1223
}

Semantic roles & 50–950 ramp

primary
#2D701C
secondary
#9143A5
accent
#45E3C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D701C

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

Preview Lab → · Contrast checker → · Palette generator →

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