#2A7D46#2A7D46

#2A7D46 is a mid, moderate green. Relative luminance 0.156; OKLCH L 52.5% C 0.117 H 151.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2A7D46
RGBrgb(42, 125, 70)
HSLhsl(140, 50%, 33%)
HSVhsv(140, 66%, 49%)
CMYKcmyk(66.4%, 0%, 44%, 51%)
CIE-LABlab(46.45, -38.00, 22.83)
CIE-LCHlch(46.45, 44.33, 149.00°)
OKLaboklab(52.54% -0.1026 0.0564)
OKLCHoklch(52.54% 0.117 151.2)
XYZxyz(9.3932, 15.6007, 8.3094)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D46 #7D2A61
analogous
#377D2A #2A7D46 #2A7D6F
triadic
#2A7D46 #462A7D #7D462A
tetradic
#2A7D46 #2A377D #7D2A61 #7D6F2A
square
#2A7D46 #2A377D #7D2A61 #7D6F2A
split-complementary
#2A7D46 #6F2A7D #7D2A37
monochromatic
#0B2113 #1B4F2C #2A7D46 #39AB60 #5AC87F

Accessibility & contrast

On white

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

On black

4.12
#2A7D46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A7D46#FFFFFF#000000##FFFFFF
##2A7D461.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7342
Deuteranopia (green-blind)
#736B4A
Tritanopia (blue-blind)
#087B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7d46;
/* rgb */ color: rgb(42, 125, 70);
/* oklch */ color: oklch(52.5% 0.117 151.2);
Tailwind
colors: {
  custom: {
    50: '#6ea37a',
    500: '#2a7d46',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d46;
$custom-light: #6ea37a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d46",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 70
  },
  "hsl": {
    "h": 140.241,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52538,
    "c": 0.11709,
    "h": 151.2
  },
  "luminance": 0.15602
}

Semantic roles & 50–950 ramp

primary
#2A7D46
secondary
#AD5690
accent
#4FAAD9
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2A7D46

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

Preview Lab → · Contrast checker → · Palette generator →

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