#2A6729#2A6729

#2A6729 is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.8% C 0.114 H 143.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2A6729
RGBrgb(42, 103, 41)
HSLhsl(119, 43%, 28%)
HSVhsv(119, 60%, 40%)
CMYKcmyk(59.2%, 0%, 60.2%, 59.6%)
CIE-LABlab(38.47, -33.45, 28.73)
CIE-LCHlch(38.47, 44.09, 139.34°)
OKLaboklab(45.83% -0.0909 0.0681)
OKLCHoklch(45.83% 0.114 143.2)
XYZxyz(6.2050, 10.3523, 3.7686)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6729 #662967
analogous
#496729 #2A6729 #296747
triadic
#2A6729 #292A67 #67292A
tetradic
#2A6729 #294967 #662967 #674729
square
#2A6729 #294967 #662967 #674729
split-complementary
#2A6729 #472967 #672949
monochromatic
#091609 #183B18 #2A6729 #3C933A #52BA51

Accessibility & contrast

On white

6.84
#2A6729 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2A6729 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6729
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6729#FFFFFF#000000##FFFFFF
##2A67291.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E23
Deuteranopia (green-blind)
#61592E
Tritanopia (blue-blind)
#206459
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a6729;
/* rgb */ color: rgb(42, 103, 41);
/* oklch */ color: oklch(45.8% 0.114 143.2);
Tailwind
colors: {
  custom: {
    50: '#6a9365',
    500: '#2a6729',
    950: '#000000',
  },
}
SCSS
$custom: #2a6729;
$custom-light: #6a9365;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6729",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 41
  },
  "hsl": {
    "h": 119.032,
    "s": 43.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.45831,
    "c": 0.11362,
    "h": 143.2
  },
  "luminance": 0.10353
}

Semantic roles & 50–950 ramp

primary
#2A6729
secondary
#985299
accent
#55D3D1
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #2A6729

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

Preview Lab → · Contrast checker → · Palette generator →

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