#2D7011#2D7011

#2D7011 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.142 H 138.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2D7011
RGBrgb(45, 112, 17)
HSLhsl(102, 74%, 25%)
HSVhsv(102, 85%, 44%)
CMYKcmyk(59.8%, 0%, 84.8%, 56.1%)
CIE-LABlab(41.51, -38.53, 42.20)
CIE-LCHlch(41.51, 57.15, 132.40°)
OKLaboklab(48.31% -0.1064 0.0933)
OKLCHoklch(48.31% 0.142 138.7)
XYZxyz(6.9773, 12.1861, 2.5147)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7011 #541170
analogous
#5C7011 #2D7011 #117025
triadic
#2D7011 #112D70 #70112D
tetradic
#2D7011 #115C70 #541170 #702511
square
#2D7011 #115C70 #541170 #702511
split-complementary
#2D7011 #251170 #70115C
monochromatic
#0B1B04 #183B09 #2D7011 #42A519 #58DA21

Accessibility & contrast

On white

6.11
#2D7011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D7011
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7011#FFFFFF#000000##FFFFFF
##2D70111.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#266C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d7011;
/* rgb */ color: rgb(45, 112, 17);
/* oklch */ color: oklch(48.3% 0.142 138.7);
Tailwind
colors: {
  custom: {
    50: '#6f9a59',
    500: '#2d7011',
    950: '#000000',
  },
}
SCSS
$custom: #2d7011;
$custom-light: #6f9a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7011",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 17
  },
  "hsl": {
    "h": 102.316,
    "s": 73.643,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48307,
    "c": 0.14152,
    "h": 138.7
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

primary
#2D7011
secondary
#8635A7
accent
#37F0BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7011

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

Preview Lab → · Contrast checker → · Palette generator →

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