#2D7511#2D7511

#2D7511 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.148 H 139.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2D7511
RGBrgb(45, 117, 17)
HSLhsl(103, 75%, 26%)
HSVhsv(103, 85%, 46%)
CMYKcmyk(61.5%, 0%, 85.5%, 54.1%)
CIE-LABlab(43.24, -40.47, 43.79)
CIE-LCHlch(43.24, 59.63, 132.74°)
OKLaboklab(49.74% -0.1116 0.0967)
OKLCHoklch(49.74% 0.148 139.1)
XYZxyz(7.5443, 13.3203, 2.7037)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7511 #591175
analogous
#5F7511 #2D7511 #117527
triadic
#2D7511 #112D75 #75112D
tetradic
#2D7511 #115F75 #591175 #752711
square
#2D7511 #115F75 #591175 #752711
split-complementary
#2D7511 #271175 #75115F
monochromatic
#0A1B04 #184009 #2D7511 #42AA19 #57DF22

Accessibility & contrast

On white

5.73
#2D7511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2D7511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7511
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7511#FFFFFF#000000##FFFFFF
##2D75111.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#257163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d7511;
/* rgb */ color: rgb(45, 117, 17);
/* oklch */ color: oklch(49.7% 0.148 139.1);
Tailwind
colors: {
  custom: {
    50: '#709d59',
    500: '#2d7511',
    950: '#000000',
  },
}
SCSS
$custom: #2d7511;
$custom-light: #709d59;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7511",
  "rgb": {
    "r": 45,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 103.2,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49738,
    "c": 0.14763,
    "h": 139.1
  },
  "luminance": 0.13321
}

Semantic roles & 50–950 ramp

primary
#2D7511
secondary
#8B36AC
accent
#37F1BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7511

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

Preview Lab → · Contrast checker → · Palette generator →

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