#2A7151#2A7151

#2A7151 is a mid, moderate teal. Relative luminance 0.129; OKLCH L 49.5% C 0.088 H 160.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2A7151
RGBrgb(42, 113, 81)
HSLhsl(153, 46%, 30%)
HSVhsv(153, 63%, 44%)
CMYKcmyk(62.8%, 0%, 28.3%, 55.7%)
CIE-LABlab(42.61, -30.39, 11.32)
CIE-LCHlch(42.61, 32.43, 159.58°)
OKLaboklab(49.46% -0.0834 0.0288)
OKLCHoklch(49.46% 0.088 160.9)
XYZxyz(8.3444, 12.8958, 9.8324)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7151 #712A4A
analogous
#2A712E #2A7151 #2A6D71
triadic
#2A7151 #512A71 #71512A
tetradic
#2A7151 #2E2A71 #712A4A #6D712A
square
#2A7151 #2E2A71 #712A4A #6D712A
split-complementary
#2A7151 #712A6D #712E2A
monochromatic
#091811 #194431 #2A7151 #3B9E71 #55C090

Accessibility & contrast

On white

5.87
#2A7151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2A7151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7151
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7151#FFFFFF#000000##FFFFFF
##2A71511.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F694F
Deuteranopia (green-blind)
#666253
Tritanopia (blue-blind)
#067168
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a7151;
/* rgb */ color: rgb(42, 113, 81);
/* oklch */ color: oklch(49.5% 0.088 160.9);
Tailwind
colors: {
  custom: {
    50: '#6b9a82',
    500: '#2a7151',
    950: '#000000',
  },
}
SCSS
$custom: #2a7151;
$custom-light: #6b9a82;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7151",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 81
  },
  "hsl": {
    "h": 152.958,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49457,
    "c": 0.08821,
    "h": 160.9
  },
  "luminance": 0.12897
}

Semantic roles & 50–950 ramp

primary
#2A7151
secondary
#A35477
accent
#528DD5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2A7151

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

Preview Lab → · Contrast checker → · Palette generator →

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