#2A751D#2A751D

#2A751D is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.142 H 141.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2A751D
RGBrgb(42, 117, 29)
HSLhsl(111, 60%, 29%)
HSVhsv(111, 75%, 46%)
CMYKcmyk(64.1%, 0%, 75.2%, 54.1%)
CIE-LABlab(43.22, -40.43, 39.54)
CIE-LCHlch(43.22, 56.54, 135.64°)
OKLaboklab(49.71% -0.1106 0.0896)
OKLCHoklch(49.71% 0.142 141)
XYZxyz(7.5375, 13.3028, 3.3326)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A751D #681D75
analogous
#56751D #2A751D #1D753C
triadic
#2A751D #1D2A75 #751D2A
tetradic
#2A751D #1D5675 #681D75 #753C1D
square
#2A751D #1D5675 #681D75 #753C1D
split-complementary
#2A751D #3C1D75 #751D56
monochromatic
#091906 #184411 #2A751D #3CA629 #53CF3D

Accessibility & contrast

On white

5.74
#2A751D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2A751D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A751D
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A751D#FFFFFF#000000##FFFFFF
##2A751D1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0E
Deuteranopia (green-blind)
#6F6426
Tritanopia (blue-blind)
#1E7164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a751d;
/* rgb */ color: rgb(42, 117, 29);
/* oklch */ color: oklch(49.7% 0.142 141.0);
Tailwind
colors: {
  custom: {
    50: '#6e9d5f',
    500: '#2a751d',
    950: '#000000',
  },
}
SCSS
$custom: #2a751d;
$custom-light: #6e9d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a751d",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 111.136,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49712,
    "c": 0.14232,
    "h": 141
  },
  "luminance": 0.13304
}

Semantic roles & 50–950 ramp

primary
#2A751D
secondary
#9A45A9
accent
#44E3CC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A751D

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

Preview Lab → · Contrast checker → · Palette generator →

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