#2A7057#2A7057

#2A7057 is a mid, moderate teal. Relative luminance 0.128; OKLCH L 49.3% C 0.081 H 166.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2A7057
RGBrgb(42, 112, 87)
HSLhsl(159, 45%, 30%)
HSVhsv(159, 63%, 44%)
CMYKcmyk(62.5%, 0%, 22.3%, 56.1%)
CIE-LABlab(42.41, -28.45, 7.47)
CIE-LCHlch(42.41, 29.42, 165.29°)
OKLaboklab(49.35% -0.0791 0.0191)
OKLCHoklch(49.35% 0.081 166.4)
XYZxyz(8.4685, 12.7679, 11.0331)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7057 #702A43
analogous
#2A7034 #2A7057 #2A6670
triadic
#2A7057 #572A70 #70572A
tetradic
#2A7057 #342A70 #702A43 #66702A
square
#2A7057 #342A70 #702A43 #66702A
split-complementary
#2A7057 #702A66 #70342A
monochromatic
#091712 #194334 #2A7057 #3B9D7A #55BF99

Accessibility & contrast

On white

5.91
#2A7057 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2A7057 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7057
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7057#FFFFFF#000000##FFFFFF
##2A70571.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6856
Deuteranopia (green-blind)
#646159
Tritanopia (blue-blind)
#007069
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a7057;
/* rgb */ color: rgb(42, 112, 87);
/* oklch */ color: oklch(49.3% 0.081 166.4);
Tailwind
colors: {
  custom: {
    50: '#6b9986',
    500: '#2a7057',
    950: '#000000',
  },
}
SCSS
$custom: #2a7057;
$custom-light: #6b9986;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7057",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 87
  },
  "hsl": {
    "h": 158.571,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49345,
    "c": 0.08136,
    "h": 166.4
  },
  "luminance": 0.12769
}

Semantic roles & 50–950 ramp

primary
#2A7057
secondary
#A25470
accent
#5381D5
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #2A7057

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

Preview Lab → · Contrast checker → · Palette generator →

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