#2D751C#2D751C

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

Color values

HEX#2D751C
RGBrgb(45, 117, 28)
HSLhsl(109, 61%, 28%)
HSVhsv(109, 76%, 46%)
CMYKcmyk(61.5%, 0%, 76.1%, 54.1%)
CIE-LABlab(43.31, -39.72, 40.06)
CIE-LCHlch(43.31, 56.41, 134.76°)
OKLaboklab(49.81% -0.1089 0.0905)
OKLCHoklch(49.81% 0.142 140.3)
XYZxyz(7.6527, 13.3636, 3.2745)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D751C #641C75
analogous
#59751C #2D751C #1C7537
triadic
#2D751C #1C2D75 #751C2D
tetradic
#2D751C #1C5975 #641C75 #75371C
square
#2D751C #1C5975 #641C75 #75371C
split-complementary
#2D751C #371C75 #751C59
monochromatic
#091906 #1A4410 #2D751C #40A628 #58D03B

Accessibility & contrast

On white

5.72
#2D751C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2D751C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D751C
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D751C#FFFFFF#000000##FFFFFF
##2D751C1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d751c;
/* rgb */ color: rgb(45, 117, 28);
/* oklch */ color: oklch(49.8% 0.142 140.3);
Tailwind
colors: {
  custom: {
    50: '#6f9d5e',
    500: '#2d751c',
    950: '#000000',
  },
}
SCSS
$custom: #2d751c;
$custom-light: #6f9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d751c",
  "rgb": {
    "r": 45,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 108.539,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49812,
    "c": 0.14164,
    "h": 140.3
  },
  "luminance": 0.13364
}

Semantic roles & 50–950 ramp

primary
#2D751C
secondary
#9644A9
accent
#43E4C6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D751C

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

Preview Lab → · Contrast checker → · Palette generator →

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