#2A7853#2A7853

#2A7853 is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.4% C 0.097 H 159.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2A7853
RGBrgb(42, 120, 83)
HSLhsl(152, 48%, 32%)
HSVhsv(152, 65%, 47%)
CMYKcmyk(65%, 0%, 30.8%, 52.9%)
CIE-LABlab(45.01, -33.14, 13.46)
CIE-LCHlch(45.01, 35.77, 157.89°)
OKLaboklab(51.44% -0.0905 0.0342)
OKLCHoklch(51.44% 0.097 159.3)
XYZxyz(9.2318, 14.5488, 10.5036)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7853 #782A4F
analogous
#2A782C #2A7853 #2A7678
triadic
#2A7853 #532A78 #78532A
tetradic
#2A7853 #2C2A78 #782A4F #76782A
square
#2A7853 #2C2A78 #782A4F #76782A
split-complementary
#2A7853 #782A76 #782C2A
monochromatic
#0A1D14 #1A4B34 #2A7853 #3AA572 #58C591

Accessibility & contrast

On white

5.37
#2A7853 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2A7853 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7853
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7853#FFFFFF#000000##FFFFFF
##2A78531.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F51
Deuteranopia (green-blind)
#6C6755
Tritanopia (blue-blind)
#00776E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a7853;
/* rgb */ color: rgb(42, 120, 83);
/* oklch */ color: oklch(51.4% 0.097 159.3);
Tailwind
colors: {
  custom: {
    50: '#6d9f83',
    500: '#2a7853',
    950: '#000000',
  },
}
SCSS
$custom: #2a7853;
$custom-light: #6d9f83;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7853",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 83
  },
  "hsl": {
    "h": 151.538,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5144,
    "c": 0.09673,
    "h": 159.3
  },
  "luminance": 0.1455
}

Semantic roles & 50–950 ramp

primary
#2A7853
secondary
#AA547D
accent
#5090D8
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2A7853

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

Preview Lab → · Contrast checker → · Palette generator →

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