#2A7629#2A7629

#2A7629 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.135 H 143.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2A7629
RGBrgb(42, 118, 41)
HSLhsl(119, 48%, 31%)
HSVhsv(119, 65%, 46%)
CMYKcmyk(64.4%, 0%, 65.3%, 53.7%)
CIE-LABlab(43.67, -39.59, 34.70)
CIE-LCHlch(43.67, 52.65, 138.76°)
OKLaboklab(50.12% -0.1076 0.0809)
OKLCHoklch(50.12% 0.135 143)
XYZxyz(7.8331, 13.6085, 4.3113)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7629 #752976
analogous
#507629 #2A7629 #29764E
triadic
#2A7629 #292A76 #76292A
tetradic
#2A7629 #295076 #752976 #764E29
square
#2A7629 #295076 #752976 #764E29
split-complementary
#2A7629 #4E2976 #762950
monochromatic
#0A1B09 #1A4919 #2A7629 #3AA339 #57C455

Accessibility & contrast

On white

5.64
#2A7629 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2A7629 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7629
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7629#FFFFFF#000000##FFFFFF
##2A76291.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B20
Deuteranopia (green-blind)
#6F6530
Tritanopia (blue-blind)
#1B7366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a7629;
/* rgb */ color: rgb(42, 118, 41);
/* oklch */ color: oklch(50.1% 0.135 143.0);
Tailwind
colors: {
  custom: {
    50: '#6d9e66',
    500: '#2a7629',
    950: '#000000',
  },
}
SCSS
$custom: #2a7629;
$custom-light: #6d9e66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7629",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 41
  },
  "hsl": {
    "h": 119.221,
    "s": 48.428,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50118,
    "c": 0.13465,
    "h": 143
  },
  "luminance": 0.13609
}

Semantic roles & 50–950 ramp

primary
#2A7629
secondary
#A753A8
accent
#50D8D6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2A7629

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

Preview Lab → · Contrast checker → · Palette generator →

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