#2A7267#2A7267

#2A7267 is a mid, moderate teal. Relative luminance 0.135; OKLCH L 50.4% C 0.073 H 181.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2A7267
RGBrgb(42, 114, 103)
HSLhsl(171, 46%, 31%)
HSVhsv(171, 63%, 45%)
CMYKcmyk(63.2%, 0%, 9.6%, 55.3%)
CIE-LABlab(43.51, -25.15, -0.54)
CIE-LCHlch(43.51, 25.15, 181.24°)
OKLaboklab(50.39% -0.0733 -0.0019)
OKLCHoklch(50.39% 0.073 181.5)
XYZxyz(9.4192, 13.5052, 14.9397)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7267 #722A35
analogous
#2A7243 #2A7267 #2A5972
triadic
#2A7267 #672A72 #72672A
tetradic
#2A7267 #432A72 #722A35 #59722A
square
#2A7267 #432A72 #722A35 #59722A
split-complementary
#2A7267 #722A59 #72432A
monochromatic
#091916 #1A453F #2A7267 #3A9F8F #56C1B0

Accessibility & contrast

On white

5.67
#2A7267 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2A7267 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7267
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7267#FFFFFF#000000##FFFFFF
##2A72671.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6B67
Deuteranopia (green-blind)
#626368
Tritanopia (blue-blind)
#00746F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a7267;
/* rgb */ color: rgb(42, 114, 103);
/* oklch */ color: oklch(50.4% 0.073 181.5);
Tailwind
colors: {
  custom: {
    50: '#6c9b92',
    500: '#2a7267',
    950: '#000000',
  },
}
SCSS
$custom: #2a7267;
$custom-light: #6c9b92;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7267",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 103
  },
  "hsl": {
    "h": 170.833,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50388,
    "c": 0.07336,
    "h": 181.5
  },
  "luminance": 0.13506
}

Semantic roles & 50–950 ramp

primary
#2A7267
secondary
#A45460
accent
#5266D6
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070E0D
muted
#7A7E7D

Preview Lab

Preview with #2A7267

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

Preview Lab → · Contrast checker → · Palette generator →

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