#2A785D#2A785D

#2A785D is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.7% C 0.088 H 166.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2A785D
RGBrgb(42, 120, 93)
HSLhsl(159, 48%, 32%)
HSVhsv(159, 65%, 47%)
CMYKcmyk(65%, 0%, 22.5%, 52.9%)
CIE-LABlab(45.24, -30.74, 7.91)
CIE-LCHlch(45.24, 31.74, 165.58°)
OKLaboklab(51.71% -0.0854 0.0202)
OKLCHoklch(51.71% 0.088 166.7)
XYZxyz(9.6461, 14.7145, 12.6856)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A785D #782A45
analogous
#2A7836 #2A785D #2A6C78
triadic
#2A785D #5D2A78 #785D2A
tetradic
#2A785D #362A78 #782A45 #6C782A
square
#2A785D #362A78 #782A45 #6C782A
split-complementary
#2A785D #782A6C #78362A
monochromatic
#0A1D17 #1A4B3A #2A785D #3AA580 #58C59F

Accessibility & contrast

On white

5.33
#2A785D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2A785D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A785D
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A785D#FFFFFF#000000##FFFFFF
##2A785D1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75705C
Deuteranopia (green-blind)
#6A685F
Tritanopia (blue-blind)
#007870
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a785d;
/* rgb */ color: rgb(42, 120, 93);
/* oklch */ color: oklch(51.7% 0.088 166.7);
Tailwind
colors: {
  custom: {
    50: '#6d9f8b',
    500: '#2a785d',
    950: '#000000',
  },
}
SCSS
$custom: #2a785d;
$custom-light: #6d9f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a785d",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 93
  },
  "hsl": {
    "h": 159.231,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51705,
    "c": 0.08775,
    "h": 166.7
  },
  "luminance": 0.14715
}

Semantic roles & 50–950 ramp

primary
#2A785D
secondary
#AA5472
accent
#507FD8
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0B
muted
#7B7E7C

Preview Lab

Preview with #2A785D

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

Preview Lab → · Contrast checker → · Palette generator →

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