#2A7729#2A7729

#2A7729 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.4% C 0.136 H 143.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2A7729
RGBrgb(42, 119, 41)
HSLhsl(119, 49%, 31%)
HSVhsv(119, 66%, 47%)
CMYKcmyk(64.7%, 0%, 65.5%, 53.3%)
CIE-LABlab(44.01, -39.99, 35.09)
CIE-LCHlch(44.01, 53.20, 138.73°)
OKLaboklab(50.4% -0.1087 0.0818)
OKLCHoklch(50.4% 0.136 143)
XYZxyz(7.9515, 13.8452, 4.3508)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7729 #762977
analogous
#517729 #2A7729 #29774F
triadic
#2A7729 #292A77 #77292A
tetradic
#2A7729 #295177 #762977 #774F29
square
#2A7729 #295177 #762977 #774F29
split-complementary
#2A7729 #4F2977 #772951
monochromatic
#0A1C0A #1A4919 #2A7729 #3AA539 #57C556

Accessibility & contrast

On white

5.57
#2A7729 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2A7729 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7729
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7729#FFFFFF#000000##FFFFFF
##2A77291.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C20
Deuteranopia (green-blind)
#706630
Tritanopia (blue-blind)
#1B7467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a7729;
/* rgb */ color: rgb(42, 119, 41);
/* oklch */ color: oklch(50.4% 0.136 143.0);
Tailwind
colors: {
  custom: {
    50: '#6e9f66',
    500: '#2a7729',
    950: '#000000',
  },
}
SCSS
$custom: #2a7729;
$custom-light: #6e9f66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7729",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 41
  },
  "hsl": {
    "h": 119.231,
    "s": 48.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50402,
    "c": 0.136,
    "h": 143
  },
  "luminance": 0.13846
}

Semantic roles & 50–950 ramp

primary
#2A7729
secondary
#A853A9
accent
#4FD8D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2A7729

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

Preview Lab → · Contrast checker → · Palette generator →

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