#2D711C#2D711C

#2D711C is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.136 H 140.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2D711C
RGBrgb(45, 113, 28)
HSLhsl(108, 60%, 28%)
HSVhsv(108, 75%, 44%)
CMYKcmyk(60.2%, 0%, 75.2%, 55.7%)
CIE-LABlab(41.92, -38.15, 38.65)
CIE-LCHlch(41.92, 54.31, 134.62°)
OKLaboklab(48.67% -0.1047 0.0876)
OKLCHoklch(48.67% 0.136 140.1)
XYZxyz(7.1966, 12.4514, 3.1225)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D711C #601C71
analogous
#57711C #2D711C #1C7135
triadic
#2D711C #1C2D71 #711C2D
tetradic
#2D711C #1C5771 #601C71 #71351C
square
#2D711C #1C5771 #601C71 #71351C
split-complementary
#2D711C #351C71 #711C57
monochromatic
#0A1906 #194010 #2D711C #41A228 #57CE39

Accessibility & contrast

On white

6.02
#2D711C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2D711C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D711C
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D711C#FFFFFF#000000##FFFFFF
##2D711C1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660D
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#256D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d711c;
/* rgb */ color: rgb(45, 113, 28);
/* oklch */ color: oklch(48.7% 0.136 140.1);
Tailwind
colors: {
  custom: {
    50: '#6e9a5e',
    500: '#2d711c',
    950: '#000000',
  },
}
SCSS
$custom: #2d711c;
$custom-light: #6e9a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d711c",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 28
  },
  "hsl": {
    "h": 108,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48671,
    "c": 0.13649,
    "h": 140.1
  },
  "luminance": 0.12452
}

Semantic roles & 50–950 ramp

primary
#2D711C
secondary
#9243A6
accent
#44E3C4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D711C

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

Preview Lab → · Contrast checker → · Palette generator →

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