#2A751A#2A751A

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

Color values

HEX#2A751A
RGBrgb(42, 117, 26)
HSLhsl(109, 64%, 28%)
HSVhsv(109, 78%, 46%)
CMYKcmyk(64.1%, 0%, 77.8%, 54.1%)
CIE-LABlab(43.20, -40.67, 40.68)
CIE-LCHlch(43.20, 57.53, 134.99°)
OKLaboklab(49.69% -0.1114 0.0916)
OKLCHoklch(49.69% 0.144 140.6)
XYZxyz(7.5022, 13.2887, 3.1467)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A751A #651A75
analogous
#57751A #2A751A #1A7538
triadic
#2A751A #1A2A75 #751A2A
tetradic
#2A751A #1A5775 #651A75 #75381A
square
#2A751A #1A5775 #651A75 #75381A
split-complementary
#2A751A #381A75 #751A57
monochromatic
#091906 #18430F #2A751A #3CA725 #52D337

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A751A#FFFFFF#000000##FFFFFF
##2A751A1.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)
#786A07
Deuteranopia (green-blind)
#6F6424
Tritanopia (blue-blind)
#1F7164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a751a;
/* rgb */ color: rgb(42, 117, 26);
/* oklch */ color: oklch(49.7% 0.144 140.6);
Tailwind
colors: {
  custom: {
    50: '#6e9d5d',
    500: '#2a751a',
    950: '#000000',
  },
}
SCSS
$custom: #2a751a;
$custom-light: #6e9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a751a",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 109.451,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49688,
    "c": 0.14422,
    "h": 140.6
  },
  "luminance": 0.13289
}

Semantic roles & 50–950 ramp

primary
#2A751A
secondary
#9741AA
accent
#41E7CA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A751A

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

Preview Lab → · Contrast checker → · Palette generator →

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