#2A7D29#2A7D29

#2A7D29 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.144 H 143.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2A7D29
RGBrgb(42, 125, 41)
HSLhsl(119, 51%, 33%)
HSVhsv(119, 67%, 49%)
CMYKcmyk(66.4%, 0%, 67.2%, 51%)
CIE-LABlab(46.07, -42.30, 37.38)
CIE-LCHlch(46.07, 56.45, 138.54°)
OKLaboklab(52.1% -0.1149 0.0866)
OKLCHoklch(52.1% 0.144 143)
XYZxyz(8.6882, 15.3187, 4.5963)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D29 #7C297D
analogous
#547D29 #2A7D29 #297D52
triadic
#2A7D29 #292A7D #7D292A
tetradic
#2A7D29 #29547D #7C297D #7D5229
square
#2A7D29 #29547D #7C297D #7D5229
split-complementary
#2A7D29 #52297D #7D2954
monochromatic
#0B210B #1B4F1A #2A7D29 #39AB38 #59C858

Accessibility & contrast

On white

5.17
#2A7D29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2A7D29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D29
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D29#FFFFFF#000000##FFFFFF
##2A7D291.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711F
Deuteranopia (green-blind)
#766A30
Tritanopia (blue-blind)
#18796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7d29;
/* rgb */ color: rgb(42, 125, 41);
/* oklch */ color: oklch(52.1% 0.144 143.0);
Tailwind
colors: {
  custom: {
    50: '#6fa367',
    500: '#2a7d29',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d29;
$custom-light: #6fa367;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d29",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 119.286,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52102,
    "c": 0.14392,
    "h": 143
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#2A7D29
secondary
#AD54AE
accent
#4EDAD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2A7D29

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

Preview Lab → · Contrast checker → · Palette generator →

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