#2A7451#2A7451

#2A7451 is a mid, moderate teal. Relative luminance 0.136; OKLCH L 50.3% C 0.093 H 159.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2A7451
RGBrgb(42, 116, 81)
HSLhsl(152, 47%, 31%)
HSVhsv(152, 64%, 45%)
CMYKcmyk(63.8%, 0%, 30.2%, 54.5%)
CIE-LABlab(43.62, -31.78, 12.72)
CIE-LCHlch(43.62, 34.23, 158.18°)
OKLaboklab(50.29% -0.0869 0.0323)
OKLCHoklch(50.29% 0.093 159.6)
XYZxyz(8.6846, 13.5762, 9.9458)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7451 #742A4D
analogous
#2A742C #2A7451 #2A7274
triadic
#2A7451 #512A74 #74512A
tetradic
#2A7451 #2C2A74 #742A4D #72742A
square
#2A7451 #2C2A74 #742A4D #72742A
split-complementary
#2A7451 #742A72 #742C2A
monochromatic
#091A12 #1A4732 #2A7451 #3AA170 #56C28F

Accessibility & contrast

On white

5.65
#2A7451 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2A7451 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7451
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7451#FFFFFF#000000##FFFFFF
##2A74511.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736B4F
Deuteranopia (green-blind)
#696453
Tritanopia (blue-blind)
#03736B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a7451;
/* rgb */ color: rgb(42, 116, 81);
/* oklch */ color: oklch(50.3% 0.093 159.6);
Tailwind
colors: {
  custom: {
    50: '#6c9c82',
    500: '#2a7451',
    950: '#000000',
  },
}
SCSS
$custom: #2a7451;
$custom-light: #6c9c82;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7451",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 81
  },
  "hsl": {
    "h": 151.622,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50286,
    "c": 0.0927,
    "h": 159.6
  },
  "luminance": 0.13577
}

Semantic roles & 50–950 ramp

primary
#2A7451
secondary
#A6547B
accent
#5190D6
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2A7451

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

Preview Lab → · Contrast checker → · Palette generator →

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