#2D711B#2D711B

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

Color values

HEX#2D711B
RGBrgb(45, 113, 27)
HSLhsl(107, 61%, 27%)
HSVhsv(107, 76%, 44%)
CMYKcmyk(60.2%, 0%, 76.1%, 55.7%)
CIE-LABlab(41.92, -38.23, 39.05)
CIE-LCHlch(41.92, 54.65, 134.40°)
OKLaboklab(48.66% -0.105 0.0883)
OKLCHoklch(48.66% 0.137 139.9)
XYZxyz(7.1848, 12.4466, 3.0605)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D711B #5F1B71
analogous
#58711B #2D711B #1B7134
triadic
#2D711B #1B2D71 #711B2D
tetradic
#2D711B #1B5871 #5F1B71 #71341B
square
#2D711B #1B5871 #5F1B71 #71341B
split-complementary
#2D711B #341B71 #711B58
monochromatic
#0A1906 #19400F #2D711B #41A227 #57CF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D711B#FFFFFF#000000##FFFFFF
##2D711B1.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)
#74660B
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#256D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d711b;
/* rgb */ color: rgb(45, 113, 27);
/* oklch */ color: oklch(48.7% 0.137 139.9);
Tailwind
colors: {
  custom: {
    50: '#6f9a5d',
    500: '#2d711b',
    950: '#000000',
  },
}
SCSS
$custom: #2d711b;
$custom-light: #6f9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d711b",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 27
  },
  "hsl": {
    "h": 107.442,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48662,
    "c": 0.13715,
    "h": 139.9
  },
  "luminance": 0.12447
}

Semantic roles & 50–950 ramp

primary
#2D711B
secondary
#9142A6
accent
#43E5C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D711B

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

Preview Lab → · Contrast checker → · Palette generator →

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