#2A704D#2A704D

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

Color values

HEX#2A704D
RGBrgb(42, 112, 77)
HSLhsl(150, 45%, 30%)
HSVhsv(150, 63%, 44%)
CMYKcmyk(62.5%, 0%, 31.2%, 56.1%)
CIE-LABlab(42.18, -30.85, 13.09)
CIE-LCHlch(42.18, 33.51, 157.00°)
OKLaboklab(49.08% -0.0842 0.0332)
OKLCHoklch(49.08% 0.091 158.5)
XYZxyz(8.0878, 12.6156, 9.0286)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A704D #702A4D
analogous
#2A702A #2A704D #2A7070
triadic
#2A704D #4D2A70 #704D2A
tetradic
#2A704D #2A2A70 #702A4D #70702A
square
#2A704D #2A2A70 #702A4D #70702A
split-complementary
#2A704D #702A70 #702A2A
monochromatic
#091710 #19432E #2A704D #3B9D6C #55BF8A

Accessibility & contrast

On white

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

On black

3.52
#2A704D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A704D#FFFFFF#000000##FFFFFF
##2A704D1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F684B
Deuteranopia (green-blind)
#65614F
Tritanopia (blue-blind)
#0B6F67
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a704d;
/* rgb */ color: rgb(42, 112, 77);
/* oklch */ color: oklch(49.1% 0.091 158.5);
Tailwind
colors: {
  custom: {
    50: '#6b9a7f',
    500: '#2a704d',
    950: '#000000',
  },
}
SCSS
$custom: #2a704d;
$custom-light: #6b9a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a704d",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 77
  },
  "hsl": {
    "h": 150,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49078,
    "c": 0.09055,
    "h": 158.5
  },
  "luminance": 0.12616
}

Semantic roles & 50–950 ramp

primary
#2A704D
secondary
#A2547B
accent
#5394D5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2A704D

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

Preview Lab → · Contrast checker → · Palette generator →

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