#2A704F#2A704F

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

Color values

HEX#2A704F
RGBrgb(42, 112, 79)
HSLhsl(152, 45%, 30%)
HSVhsv(152, 63%, 44%)
CMYKcmyk(62.5%, 0%, 29.5%, 56.1%)
CIE-LABlab(42.22, -30.39, 11.97)
CIE-LCHlch(42.22, 32.66, 158.50°)
OKLaboklab(49.13% -0.0832 0.0305)
OKLCHoklch(49.13% 0.089 159.9)
XYZxyz(8.1596, 12.6443, 9.4062)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A704F #702A4B
analogous
#2A702C #2A704F #2A6E70
triadic
#2A704F #4F2A70 #704F2A
tetradic
#2A704F #2C2A70 #702A4B #6E702A
square
#2A704F #2C2A70 #702A4B #6E702A
split-complementary
#2A704F #702A6E #702C2A
monochromatic
#091710 #194330 #2A704F #3B9D6E #55BF8D

Accessibility & contrast

On white

5.95
#2A704F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A704F
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A704F#FFFFFF#000000##FFFFFF
##2A704F1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F684D
Deuteranopia (green-blind)
#656151
Tritanopia (blue-blind)
#097067
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a704f;
/* rgb */ color: rgb(42, 112, 79);
/* oklch */ color: oklch(49.1% 0.089 159.9);
Tailwind
colors: {
  custom: {
    50: '#6b9980',
    500: '#2a704f',
    950: '#000000',
  },
}
SCSS
$custom: #2a704f;
$custom-light: #6b9980;
$custom-dark: #000000;
JSON
{
  "hex": "#2a704f",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 79
  },
  "hsl": {
    "h": 151.714,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49128,
    "c": 0.0886,
    "h": 159.9
  },
  "luminance": 0.12645
}

Semantic roles & 50–950 ramp

primary
#2A704F
secondary
#A25479
accent
#5390D5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2A704F

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

Preview Lab → · Contrast checker → · Palette generator →

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