#2A7255#2A7255

#2A7255 is a mid, moderate teal. Relative luminance 0.132; OKLCH L 49.8% C 0.086 H 163.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2A7255
RGBrgb(42, 114, 85)
HSLhsl(156, 46%, 31%)
HSVhsv(156, 63%, 45%)
CMYKcmyk(63.2%, 0%, 25.4%, 55.3%)
CIE-LABlab(43.04, -29.90, 9.54)
CIE-LCHlch(43.04, 31.39, 162.30°)
OKLaboklab(49.84% -0.0825 0.0244)
OKLCHoklch(49.84% 0.086 163.5)
XYZxyz(8.6110, 13.1819, 10.6831)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7255 #722A47
analogous
#2A7231 #2A7255 #2A6B72
triadic
#2A7255 #552A72 #72552A
tetradic
#2A7255 #312A72 #722A47 #6B722A
square
#2A7255 #312A72 #722A47 #6B722A
split-complementary
#2A7255 #722A6B #72312A
monochromatic
#091912 #1A4534 #2A7255 #3A9F76 #56C196

Accessibility & contrast

On white

5.77
#2A7255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2A7255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7255
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7255#FFFFFF#000000##FFFFFF
##2A72551.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706A53
Deuteranopia (green-blind)
#666357
Tritanopia (blue-blind)
#00726A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a7255;
/* rgb */ color: rgb(42, 114, 85);
/* oklch */ color: oklch(49.8% 0.086 163.5);
Tailwind
colors: {
  custom: {
    50: '#6c9b85',
    500: '#2a7255',
    950: '#000000',
  },
}
SCSS
$custom: #2a7255;
$custom-light: #6c9b85;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7255",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 85
  },
  "hsl": {
    "h": 155.833,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49839,
    "c": 0.08601,
    "h": 163.5
  },
  "luminance": 0.13183
}

Semantic roles & 50–950 ramp

primary
#2A7255
secondary
#A45474
accent
#5287D6
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #2A7255

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

Preview Lab → · Contrast checker → · Palette generator →

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