#2C751B#2C751B

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

Color values

HEX#2C751B
RGBrgb(44, 117, 27)
HSLhsl(109, 63%, 28%)
HSVhsv(109, 77%, 46%)
CMYKcmyk(62.4%, 0%, 76.9%, 54.1%)
CIE-LABlab(43.27, -40.07, 40.40)
CIE-LCHlch(43.27, 56.90, 134.77°)
OKLaboklab(49.77% -0.1099 0.0911)
OKLCHoklch(49.77% 0.143 140.3)
XYZxyz(7.5975, 13.3365, 3.2105)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C751B #641B75
analogous
#59751B #2C751B #1B7537
triadic
#2C751B #1B2C75 #751B2C
tetradic
#2C751B #1B5975 #641B75 #75371B
square
#2C751B #1B5975 #641B75 #75371B
split-complementary
#2C751B #371B75 #751B59
monochromatic
#091906 #194310 #2C751B #3FA726 #56D139

Accessibility & contrast

On white

5.73
#2C751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C751B
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C751B#FFFFFF#000000##FFFFFF
##2C751B1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A09
Deuteranopia (green-blind)
#6F6424
Tritanopia (blue-blind)
#227164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2c751b;
/* rgb */ color: rgb(44, 117, 27);
/* oklch */ color: oklch(49.8% 0.143 140.3);
Tailwind
colors: {
  custom: {
    50: '#6f9d5e',
    500: '#2c751b',
    950: '#000000',
  },
}
SCSS
$custom: #2c751b;
$custom-light: #6f9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c751b",
  "rgb": {
    "r": 44,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 108.667,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49767,
    "c": 0.14272,
    "h": 140.3
  },
  "luminance": 0.13337
}

Semantic roles & 50–950 ramp

primary
#2C751B
secondary
#9642A9
accent
#42E6C7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C751B

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

Preview Lab → · Contrast checker → · Palette generator →

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