#2A704E#2A704E

#2A704E is a mid, moderate teal. Relative luminance 0.126; OKLCH L 49.1% C 0.090 H 159.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2A704E
RGBrgb(42, 112, 78)
HSLhsl(151, 45%, 30%)
HSVhsv(151, 63%, 44%)
CMYKcmyk(62.5%, 0%, 30.4%, 56.1%)
CIE-LABlab(42.20, -30.62, 12.53)
CIE-LCHlch(42.20, 33.08, 157.74°)
OKLaboklab(49.1% -0.0837 0.0319)
OKLCHoklch(49.1% 0.09 159.2)
XYZxyz(8.1234, 12.6298, 9.2160)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A704E #702A4C
analogous
#2A702B #2A704E #2A6F70
triadic
#2A704E #4E2A70 #704E2A
tetradic
#2A704E #2B2A70 #702A4C #6F702A
square
#2A704E #2B2A70 #702A4C #6F702A
split-complementary
#2A704E #702A6F #702B2A
monochromatic
#091710 #19432F #2A704E #3B9D6D #55BF8C

Accessibility & contrast

On white

5.96
#2A704E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2A704E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A704E
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A704E#FFFFFF#000000##FFFFFF
##2A704E1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F684C
Deuteranopia (green-blind)
#656150
Tritanopia (blue-blind)
#0A6F67
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a704e;
/* rgb */ color: rgb(42, 112, 78);
/* oklch */ color: oklch(49.1% 0.090 159.2);
Tailwind
colors: {
  custom: {
    50: '#6b997f',
    500: '#2a704e',
    950: '#000000',
  },
}
SCSS
$custom: #2a704e;
$custom-light: #6b997f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a704e",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 78
  },
  "hsl": {
    "h": 150.857,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49103,
    "c": 0.08957,
    "h": 159.2
  },
  "luminance": 0.12631
}

Semantic roles & 50–950 ramp

primary
#2A704E
secondary
#A2547A
accent
#5392D5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2A704E

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

Preview Lab → · Contrast checker → · Palette generator →

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