#2A7129#2A7129

#2A7129 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.128 H 143.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2A7129
RGBrgb(42, 113, 41)
HSLhsl(119, 47%, 30%)
HSVhsv(119, 64%, 44%)
CMYKcmyk(62.8%, 0%, 63.7%, 55.7%)
CIE-LABlab(41.94, -37.60, 32.75)
CIE-LCHlch(41.94, 49.87, 138.94°)
OKLaboklab(48.69% -0.1022 0.0768)
OKLCHoklch(48.69% 0.128 143.1)
XYZxyz(7.2598, 12.4619, 4.1202)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7129 #702971
analogous
#4E7129 #2A7129 #29714C
triadic
#2A7129 #292A71 #71292A
tetradic
#2A7129 #294E71 #702971 #714C29
square
#2A7129 #294E71 #702971 #714C29
split-complementary
#2A7129 #4C2971 #71294E
monochromatic
#091708 #194419 #2A7129 #3B9E39 #55C154

Accessibility & contrast

On white

6.01
#2A7129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2A7129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7129
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7129#FFFFFF#000000##FFFFFF
##2A71291.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736721
Deuteranopia (green-blind)
#6A612F
Tritanopia (blue-blind)
#1D6E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a7129;
/* rgb */ color: rgb(42, 113, 41);
/* oklch */ color: oklch(48.7% 0.128 143.1);
Tailwind
colors: {
  custom: {
    50: '#6c9a66',
    500: '#2a7129',
    950: '#000000',
  },
}
SCSS
$custom: #2a7129;
$custom-light: #6c9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7129",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 41
  },
  "hsl": {
    "h": 119.167,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48694,
    "c": 0.12783,
    "h": 143.1
  },
  "luminance": 0.12463
}

Semantic roles & 50–950 ramp

primary
#2A7129
secondary
#A253A3
accent
#51D6D5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2A7129

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

Preview Lab → · Contrast checker → · Palette generator →

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