#2D751F#2D751F

#2D751F is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.140 H 140.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2D751F
RGBrgb(45, 117, 31)
HSLhsl(110, 58%, 29%)
HSVhsv(110, 74%, 46%)
CMYKcmyk(61.5%, 0%, 73.5%, 54.1%)
CIE-LABlab(43.33, -39.47, 38.86)
CIE-LCHlch(43.33, 55.39, 135.44°)
OKLaboklab(49.84% -0.108 0.0885)
OKLCHoklch(49.84% 0.14 140.7)
XYZxyz(7.6904, 13.3787, 3.4731)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D751F #671F75
analogous
#58751F #2D751F #1F753C
triadic
#2D751F #1F2D75 #751F2D
tetradic
#2D751F #1F5875 #671F75 #753C1F
square
#2D751F #1F5875 #671F75 #753C1F
split-complementary
#2D751F #3C1F75 #751F58
monochromatic
#091806 #1A4512 #2D751F #40A52C #58CD42

Accessibility & contrast

On white

5.71
#2D751F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#2D751F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D751F
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D751F#FFFFFF#000000##FFFFFF
##2D751F1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A11
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#237164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d751f;
/* rgb */ color: rgb(45, 117, 31);
/* oklch */ color: oklch(49.8% 0.140 140.7);
Tailwind
colors: {
  custom: {
    50: '#6f9d60',
    500: '#2d751f',
    950: '#000000',
  },
}
SCSS
$custom: #2d751f;
$custom-light: #6f9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#2d751f",
  "rgb": {
    "r": 45,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 110.233,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49837,
    "c": 0.13964,
    "h": 140.7
  },
  "luminance": 0.13379
}

Semantic roles & 50–950 ramp

primary
#2D751F
secondary
#9947A9
accent
#46E1C8
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D751F

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

Preview Lab → · Contrast checker → · Palette generator →

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