#2D701F#2D701F

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

Color values

HEX#2D701F
RGBrgb(45, 112, 31)
HSLhsl(110, 57%, 28%)
HSVhsv(110, 72%, 44%)
CMYKcmyk(59.8%, 0%, 72.3%, 56.1%)
CIE-LABlab(41.60, -37.48, 37.06)
CIE-LCHlch(41.60, 52.71, 135.32°)
OKLaboklab(48.41% -0.1027 0.0847)
OKLCHoklch(48.41% 0.133 140.5)
XYZxyz(7.1234, 12.2445, 3.2841)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D701F #621F70
analogous
#55701F #2D701F #1F703A
triadic
#2D701F #1F2D70 #701F2D
tetradic
#2D701F #1F5570 #621F70 #703A1F
square
#2D701F #1F5570 #621F70 #703A1F
split-complementary
#2D701F #3A1F70 #701F55
monochromatic
#0A1807 #1A4012 #2D701F #40A02C #57CA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D701F#FFFFFF#000000##FFFFFF
##2D701F1.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)
#736613
Deuteranopia (green-blind)
#6B6027
Tritanopia (blue-blind)
#246C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d701f;
/* rgb */ color: rgb(45, 112, 31);
/* oklch */ color: oklch(48.4% 0.133 140.5);
Tailwind
colors: {
  custom: {
    50: '#6e9a5f',
    500: '#2d701f',
    950: '#000000',
  },
}
SCSS
$custom: #2d701f;
$custom-light: #6e9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d701f",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 109.63,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48412,
    "c": 0.13308,
    "h": 140.5
  },
  "luminance": 0.12245
}

Semantic roles & 50–950 ramp

primary
#2D701F
secondary
#9447A4
accent
#48E0C6
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D701F

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

Preview Lab → · Contrast checker → · Palette generator →

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