#2A714D#2A714D

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

Color values

HEX#2A714D
RGBrgb(42, 113, 77)
HSLhsl(150, 46%, 30%)
HSVhsv(150, 63%, 44%)
CMYKcmyk(62.8%, 0%, 31.9%, 55.7%)
CIE-LABlab(42.52, -31.31, 13.56)
CIE-LCHlch(42.52, 34.12, 156.58°)
OKLaboklab(49.36% -0.0854 0.0344)
OKLCHoklch(49.36% 0.092 158.1)
XYZxyz(8.1988, 12.8375, 9.0656)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A714D #712A4E
analogous
#2B712A #2A714D #2A7170
triadic
#2A714D #4D2A71 #714D2A
tetradic
#2A714D #2A2B71 #712A4E #71702A
square
#2A714D #2A2B71 #712A4E #71702A
split-complementary
#2A714D #702A71 #712A2B
monochromatic
#091810 #19442F #2A714D #3B9E6B #55C08A

Accessibility & contrast

On white

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

On black

3.57
#2A714D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A714D#FFFFFF#000000##FFFFFF
##2A714D1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70694B
Deuteranopia (green-blind)
#66624F
Tritanopia (blue-blind)
#0A7067
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a714d;
/* rgb */ color: rgb(42, 113, 77);
/* oklch */ color: oklch(49.4% 0.092 158.1);
Tailwind
colors: {
  custom: {
    50: '#6b9a7f',
    500: '#2a714d',
    950: '#000000',
  },
}
SCSS
$custom: #2a714d;
$custom-light: #6b9a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a714d",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 77
  },
  "hsl": {
    "h": 149.577,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49355,
    "c": 0.09207,
    "h": 158.1
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

primary
#2A714D
secondary
#A3547C
accent
#5295D5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2A714D

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

Preview Lab → · Contrast checker → · Palette generator →

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