#2A7F46#2A7F46

#2A7F46 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.120 H 150.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2A7F46
RGBrgb(42, 127, 70)
HSLhsl(140, 50%, 33%)
HSVhsv(140, 67%, 50%)
CMYKcmyk(66.9%, 0%, 44.9%, 50.2%)
CIE-LABlab(47.12, -38.83, 23.71)
CIE-LCHlch(47.12, 45.49, 148.59°)
OKLaboklab(53.09% -0.1048 0.0585)
OKLCHoklch(53.09% 0.12 150.8)
XYZxyz(9.6489, 16.1122, 8.3946)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7F46 #7F2A63
analogous
#387F2A #2A7F46 #2A7F70
triadic
#2A7F46 #462A7F #7F462A
tetradic
#2A7F46 #2A387F #7F2A63 #7F702A
square
#2A7F46 #2A387F #7F2A63 #7F702A
split-complementary
#2A7F46 #702A7F #7F2A38
monochromatic
#0C2313 #1B512D #2A7F46 #39AD5F #5BC97F

Accessibility & contrast

On white

4.97
#2A7F46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2A7F46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7F46
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7F46#FFFFFF#000000##FFFFFF
##2A7F461.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807442
Deuteranopia (green-blind)
#756D4A
Tritanopia (blue-blind)
#067D71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a7f46;
/* rgb */ color: rgb(42, 127, 70);
/* oklch */ color: oklch(53.1% 0.120 150.8);
Tailwind
colors: {
  custom: {
    50: '#6ea57a',
    500: '#2a7f46',
    950: '#000000',
  },
}
SCSS
$custom: #2a7f46;
$custom-light: #6ea57a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7f46",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 70
  },
  "hsl": {
    "h": 139.765,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53093,
    "c": 0.12,
    "h": 150.8
  },
  "luminance": 0.16113
}

Semantic roles & 50–950 ramp

primary
#2A7F46
secondary
#AE5791
accent
#4EACDA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2A7F46

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

Preview Lab → · Contrast checker → · Palette generator →

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