#2D761F#2D761F

#2D761F is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.141 H 140.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2D761F
RGBrgb(45, 118, 31)
HSLhsl(110, 58%, 29%)
HSVhsv(110, 74%, 46%)
CMYKcmyk(61.9%, 0%, 73.7%, 53.7%)
CIE-LABlab(43.67, -39.86, 39.22)
CIE-LCHlch(43.67, 55.92, 135.46°)
OKLaboklab(50.12% -0.1091 0.0892)
OKLCHoklch(50.12% 0.141 140.7)
XYZxyz(7.8076, 13.6130, 3.5122)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D761F #681F76
analogous
#59761F #2D761F #1F763D
triadic
#2D761F #1F2D76 #761F2D
tetradic
#2D761F #1F5976 #681F76 #763D1F
square
#2D761F #1F5976 #681F76 #763D1F
split-complementary
#2D761F #3D1F76 #761F59
monochromatic
#091806 #1B4612 #2D761F #3FA62C #58CD42

Accessibility & contrast

On white

5.64
#2D761F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2D761F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D761F
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D761F#FFFFFF#000000##FFFFFF
##2D761F1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B11
Deuteranopia (green-blind)
#706527
Tritanopia (blue-blind)
#237265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2d761f;
/* rgb */ color: rgb(45, 118, 31);
/* oklch */ color: oklch(50.1% 0.141 140.7);
Tailwind
colors: {
  custom: {
    50: '#6f9e60',
    500: '#2d761f',
    950: '#000000',
  },
}
SCSS
$custom: #2d761f;
$custom-light: #6f9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#2d761f",
  "rgb": {
    "r": 45,
    "g": 118,
    "b": 31
  },
  "hsl": {
    "h": 110.345,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50121,
    "c": 0.14093,
    "h": 140.7
  },
  "luminance": 0.13614
}

Semantic roles & 50–950 ramp

primary
#2D761F
secondary
#9A47AA
accent
#46E2C9
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D761F

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

Preview Lab → · Contrast checker → · Palette generator →

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