#2A7E29#2A7E29

#2A7E29 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.145 H 143.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2A7E29
RGBrgb(42, 126, 41)
HSLhsl(119, 51%, 33%)
HSVhsv(119, 67%, 49%)
CMYKcmyk(66.7%, 0%, 67.5%, 50.6%)
CIE-LABlab(46.41, -42.68, 37.75)
CIE-LCHlch(46.41, 56.98, 138.51°)
OKLaboklab(52.39% -0.116 0.0874)
OKLCHoklch(52.39% 0.145 143)
XYZxyz(8.8154, 15.5732, 4.6387)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7E29 #7D297E
analogous
#547E29 #2A7E29 #297E52
triadic
#2A7E29 #292A7E #7E292A
tetradic
#2A7E29 #29547E #7D297E #7E5229
square
#2A7E29 #29547E #7D297E #7E5229
split-complementary
#2A7E29 #52297E #7E2954
monochromatic
#0B220B #1B501A #2A7E29 #39AC38 #5AC959

Accessibility & contrast

On white

5.10
#2A7E29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2A7E29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7E29
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7E29#FFFFFF#000000##FFFFFF
##2A7E291.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721E
Deuteranopia (green-blind)
#776B31
Tritanopia (blue-blind)
#187A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7e29;
/* rgb */ color: rgb(42, 126, 41);
/* oklch */ color: oklch(52.4% 0.145 143.0);
Tailwind
colors: {
  custom: {
    50: '#6fa467',
    500: '#2a7e29',
    950: '#000000',
  },
}
SCSS
$custom: #2a7e29;
$custom-light: #6fa467;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7e29",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 41
  },
  "hsl": {
    "h": 119.294,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52385,
    "c": 0.14522,
    "h": 143
  },
  "luminance": 0.15574
}

Semantic roles & 50–950 ramp

primary
#2A7E29
secondary
#AD55AE
accent
#4DDAD9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2A7E29

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

Preview Lab → · Contrast checker → · Palette generator →

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