#2A714C#2A714C

#2A714C is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.3% C 0.093 H 157.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2A714C
RGBrgb(42, 113, 76)
HSLhsl(149, 46%, 30%)
HSVhsv(149, 63%, 44%)
CMYKcmyk(62.8%, 0%, 32.7%, 55.7%)
CIE-LABlab(42.50, -31.53, 14.12)
CIE-LCHlch(42.50, 34.55, 155.88°)
OKLaboklab(49.33% -0.0859 0.0357)
OKLCHoklch(49.33% 0.093 157.4)
XYZxyz(8.1638, 12.8235, 8.8810)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A714C #712A4F
analogous
#2C712A #2A714C #2A716F
triadic
#2A714C #4C2A71 #714C2A
tetradic
#2A714C #2A2C71 #712A4F #716F2A
square
#2A714C #2A2C71 #712A4F #716F2A
split-complementary
#2A714C #6F2A71 #712A2C
monochromatic
#091810 #19442E #2A714C #3B9E6A #55C088

Accessibility & contrast

On white

5.89
#2A714C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2A714C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A714C
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A714C#FFFFFF#000000##FFFFFF
##2A714C1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70684A
Deuteranopia (green-blind)
#66624E
Tritanopia (blue-blind)
#0B7067
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a714c;
/* rgb */ color: rgb(42, 113, 76);
/* oklch */ color: oklch(49.3% 0.093 157.4);
Tailwind
colors: {
  custom: {
    50: '#6b9a7e',
    500: '#2a714c',
    950: '#000000',
  },
}
SCSS
$custom: #2a714c;
$custom-light: #6b9a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a714c",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 76
  },
  "hsl": {
    "h": 148.732,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49331,
    "c": 0.09306,
    "h": 157.4
  },
  "luminance": 0.12824
}

Semantic roles & 50–950 ramp

primary
#2A714C
secondary
#A3547D
accent
#5297D5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2A714C

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

Preview Lab → · Contrast checker → · Palette generator →

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