#2A7429#2A7429

#2A7429 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.132 H 143.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2A7429
RGBrgb(42, 116, 41)
HSLhsl(119, 48%, 31%)
HSVhsv(119, 65%, 45%)
CMYKcmyk(63.8%, 0%, 64.7%, 54.5%)
CIE-LABlab(42.98, -38.80, 33.93)
CIE-LCHlch(42.98, 51.54, 138.83°)
OKLaboklab(49.55% -0.1055 0.0793)
OKLCHoklch(49.55% 0.132 143.1)
XYZxyz(7.6000, 13.1424, 4.2336)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7429 #732974
analogous
#4F7429 #2A7429 #29744D
triadic
#2A7429 #292A74 #74292A
tetradic
#2A7429 #294F74 #732974 #744D29
square
#2A7429 #294F74 #732974 #744D29
split-complementary
#2A7429 #4D2974 #74294F
monochromatic
#091A09 #1A4719 #2A7429 #3AA139 #56C355

Accessibility & contrast

On white

5.79
#2A7429 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2A7429 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7429
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7429#FFFFFF#000000##FFFFFF
##2A74291.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766921
Deuteranopia (green-blind)
#6D632F
Tritanopia (blue-blind)
#1C7164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a7429;
/* rgb */ color: rgb(42, 116, 41);
/* oklch */ color: oklch(49.5% 0.132 143.1);
Tailwind
colors: {
  custom: {
    50: '#6d9d66',
    500: '#2a7429',
    950: '#000000',
  },
}
SCSS
$custom: #2a7429;
$custom-light: #6d9d66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7429",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 41
  },
  "hsl": {
    "h": 119.2,
    "s": 47.771,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49549,
    "c": 0.13194,
    "h": 143.1
  },
  "luminance": 0.13143
}

Semantic roles & 50–950 ramp

primary
#2A7429
secondary
#A553A6
accent
#50D7D6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2A7429

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

Preview Lab → · Contrast checker → · Palette generator →

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