#2C751F#2C751F

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

Color values

HEX#2C751F
RGBrgb(44, 117, 31)
HSLhsl(111, 58%, 29%)
HSVhsv(111, 74%, 46%)
CMYKcmyk(62.4%, 0%, 73.5%, 54.1%)
CIE-LABlab(43.30, -39.73, 38.82)
CIE-LCHlch(43.30, 55.55, 135.67°)
OKLaboklab(49.8% -0.1087 0.0884)
OKLCHoklch(49.8% 0.14 140.9)
XYZxyz(7.6469, 13.3563, 3.4711)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C751F #681F75
analogous
#57751F #2C751F #1F753D
triadic
#2C751F #1F2C75 #751F2C
tetradic
#2C751F #1F5775 #681F75 #753D1F
square
#2C751F #1F5775 #681F75 #753D1F
split-complementary
#2C751F #3D1F75 #751F57
monochromatic
#091806 #1A4512 #2C751F #3EA52C #57CD42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C751F#FFFFFF#000000##FFFFFF
##2C751F1.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)
#786A11
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#217164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2c751f;
/* rgb */ color: rgb(44, 117, 31);
/* oklch */ color: oklch(49.8% 0.140 140.9);
Tailwind
colors: {
  custom: {
    50: '#6f9d60',
    500: '#2c751f',
    950: '#000000',
  },
}
SCSS
$custom: #2c751f;
$custom-light: #6f9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#2c751f",
  "rgb": {
    "r": 44,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 110.93,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.498,
    "c": 0.14009,
    "h": 140.9
  },
  "luminance": 0.13357
}

Semantic roles & 50–950 ramp

primary
#2C751F
secondary
#9A47A9
accent
#46E1CA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C751F

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

Preview Lab → · Contrast checker → · Palette generator →

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