#2A7B47#2A7B47

#2A7B47 is a mid, moderate green. Relative luminance 0.151; OKLCH L 52.0% C 0.113 H 152.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2A7B47
RGBrgb(42, 123, 71)
HSLhsl(141, 49%, 32%)
HSVhsv(141, 66%, 48%)
CMYKcmyk(65.9%, 0%, 42.3%, 51.8%)
CIE-LABlab(45.79, -36.97, 21.41)
CIE-LCHlch(45.79, 42.72, 149.92°)
OKLaboklab(52% -0.0999 0.0531)
OKLCHoklch(52% 0.113 152)
XYZxyz(9.1744, 15.1122, 8.3935)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7B47 #7B2A5E
analogous
#367B2A #2A7B47 #2A7B6F
triadic
#2A7B47 #472A7B #7B472A
tetradic
#2A7B47 #2A367B #7B2A5E #7B6F2A
square
#2A7B47 #2A367B #7B2A5E #7B6F2A
split-complementary
#2A7B47 #6F2A7B #7B2A36
monochromatic
#0B2012 #1A4D2D #2A7B47 #3AA961 #59C680

Accessibility & contrast

On white

5.22
#2A7B47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2A7B47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7B47
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7B47#FFFFFF#000000##FFFFFF
##2A7B471.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7143
Deuteranopia (green-blind)
#71694A
Tritanopia (blue-blind)
#09796E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a7b47;
/* rgb */ color: rgb(42, 123, 71);
/* oklch */ color: oklch(52.0% 0.113 152.0);
Tailwind
colors: {
  custom: {
    50: '#6da27b',
    500: '#2a7b47',
    950: '#000000',
  },
}
SCSS
$custom: #2a7b47;
$custom-light: #6da27b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7b47",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 71
  },
  "hsl": {
    "h": 141.481,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52001,
    "c": 0.11315,
    "h": 152
  },
  "luminance": 0.15113
}

Semantic roles & 50–950 ramp

primary
#2A7B47
secondary
#AC558D
accent
#4FA7D9
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2A7B47

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

Preview Lab → · Contrast checker → · Palette generator →

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