#2A7052#2A7052

#2A7052 is a mid, moderate teal. Relative luminance 0.127; OKLCH L 49.2% C 0.086 H 162.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2A7052
RGBrgb(42, 112, 82)
HSLhsl(154, 45%, 30%)
HSVhsv(154, 63%, 44%)
CMYKcmyk(62.5%, 0%, 26.8%, 56.1%)
CIE-LABlab(42.29, -29.68, 10.28)
CIE-LCHlch(42.29, 31.41, 160.89°)
OKLaboklab(49.21% -0.0817 0.0263)
OKLCHoklch(49.21% 0.086 162.2)
XYZxyz(8.2712, 12.6890, 9.9943)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7052 #702A48
analogous
#2A702F #2A7052 #2A6B70
triadic
#2A7052 #522A70 #70522A
tetradic
#2A7052 #2F2A70 #702A48 #6B702A
square
#2A7052 #2F2A70 #702A48 #6B702A
split-complementary
#2A7052 #702A6B #702F2A
monochromatic
#091711 #194331 #2A7052 #3B9D73 #55BF92

Accessibility & contrast

On white

5.94
#2A7052 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2A7052 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7052
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7052#FFFFFF#000000##FFFFFF
##2A70521.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6850
Deuteranopia (green-blind)
#646154
Tritanopia (blue-blind)
#057068
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a7052;
/* rgb */ color: rgb(42, 112, 82);
/* oklch */ color: oklch(49.2% 0.086 162.2);
Tailwind
colors: {
  custom: {
    50: '#6b9982',
    500: '#2a7052',
    950: '#000000',
  },
}
SCSS
$custom: #2a7052;
$custom-light: #6b9982;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7052",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 82
  },
  "hsl": {
    "h": 154.286,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49207,
    "c": 0.08578,
    "h": 162.2
  },
  "luminance": 0.1269
}

Semantic roles & 50–950 ramp

primary
#2A7052
secondary
#A25475
accent
#538BD5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2A7052

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

Preview Lab → · Contrast checker → · Palette generator →

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