#2A815D#2A815D

#2A815D is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.2% C 0.100 H 162.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2A815D
RGBrgb(42, 129, 93)
HSLhsl(155, 51%, 34%)
HSVhsv(155, 67%, 51%)
CMYKcmyk(67.4%, 0%, 27.9%, 49.4%)
CIE-LABlab(48.24, -34.86, 12.11)
CIE-LCHlch(48.24, 36.90, 160.84°)
OKLaboklab(54.16% -0.0956 0.0309)
OKLCHoklch(54.16% 0.1 162.1)
XYZxyz(10.7798, 16.9819, 13.0635)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A815D #812A4E
analogous
#2A8131 #2A815D #2A7981
triadic
#2A815D #5D2A81 #815D2A
tetradic
#2A815D #312A81 #812A4E #79812A
square
#2A815D #312A81 #812A4E #79812A
split-complementary
#2A815D #812A79 #81312A
monochromatic
#0C251A #1B533C #2A815D #39AF7E #5CCA9C

Accessibility & contrast

On white

4.78
#2A815D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2A815D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A815D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A815D#FFFFFF#000000##FFFFFF
##2A815D1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F775B
Deuteranopia (green-blind)
#736F5F
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a815d;
/* rgb */ color: rgb(42, 129, 93);
/* oklch */ color: oklch(54.2% 0.100 162.1);
Tailwind
colors: {
  custom: {
    50: '#6ea68b',
    500: '#2a815d',
    950: '#000000',
  },
}
SCSS
$custom: #2a815d;
$custom-light: #6ea68b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a815d",
  "rgb": {
    "r": 42,
    "g": 129,
    "b": 93
  },
  "hsl": {
    "h": 155.172,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54157,
    "c": 0.10047,
    "h": 162.1
  },
  "luminance": 0.16983
}

Semantic roles & 50–950 ramp

primary
#2A815D
secondary
#AF577C
accent
#4D88DA
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #2A815D

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

Preview Lab → · Contrast checker → · Palette generator →

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