#2A815F#2A815F

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

Color values

HEX#2A815F
RGBrgb(42, 129, 95)
HSLhsl(157, 51%, 34%)
HSVhsv(157, 67%, 51%)
CMYKcmyk(67.4%, 0%, 26.4%, 49.4%)
CIE-LABlab(48.28, -34.38, 11.01)
CIE-LCHlch(48.28, 36.10, 162.24°)
OKLaboklab(54.21% -0.0946 0.0281)
OKLCHoklch(54.21% 0.099 163.4)
XYZxyz(10.8696, 17.0178, 13.5362)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A815F #812A4C
analogous
#2A8133 #2A815F #2A7781
triadic
#2A815F #5F2A81 #815F2A
tetradic
#2A815F #332A81 #812A4C #77812A
square
#2A815F #332A81 #812A4C #77812A
split-complementary
#2A815F #812A77 #81332A
monochromatic
#0C251B #1B533D #2A815F #39AF81 #5CCA9F

Accessibility & contrast

On white

4.77
#2A815F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A815F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A815F#FFFFFF#000000##FFFFFF
##2A815F1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F785D
Deuteranopia (green-blind)
#736F61
Tritanopia (blue-blind)
#008178
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a815f;
/* rgb */ color: rgb(42, 129, 95);
/* oklch */ color: oklch(54.2% 0.099 163.4);
Tailwind
colors: {
  custom: {
    50: '#6fa68c',
    500: '#2a815f',
    950: '#000000',
  },
}
SCSS
$custom: #2a815f;
$custom-light: #6fa68c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a815f",
  "rgb": {
    "r": 42,
    "g": 129,
    "b": 95
  },
  "hsl": {
    "h": 156.552,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54209,
    "c": 0.09869,
    "h": 163.4
  },
  "luminance": 0.17019
}

Semantic roles & 50–950 ramp

primary
#2A815F
secondary
#AF577A
accent
#4D85DA
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #2A815F

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

Preview Lab → · Contrast checker → · Palette generator →

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