#2A7256#2A7256

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

Color values

HEX#2A7256
RGBrgb(42, 114, 86)
HSLhsl(157, 46%, 31%)
HSVhsv(157, 63%, 45%)
CMYKcmyk(63.2%, 0%, 24.6%, 55.3%)
CIE-LABlab(43.06, -29.66, 8.98)
CIE-LCHlch(43.06, 30.99, 163.15°)
OKLaboklab(49.87% -0.082 0.023)
OKLCHoklch(49.87% 0.085 164.3)
XYZxyz(8.6510, 13.1979, 10.8938)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7256 #722A46
analogous
#2A7232 #2A7256 #2A6A72
triadic
#2A7256 #562A72 #72562A
tetradic
#2A7256 #322A72 #722A46 #6A722A
square
#2A7256 #322A72 #722A46 #6A722A
split-complementary
#2A7256 #722A6A #72322A
monochromatic
#091913 #1A4534 #2A7256 #3A9F78 #56C197

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7256#FFFFFF#000000##FFFFFF
##2A72561.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)
#706A54
Deuteranopia (green-blind)
#666358
Tritanopia (blue-blind)
#00726A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a7256;
/* rgb */ color: rgb(42, 114, 86);
/* oklch */ color: oklch(49.9% 0.085 164.3);
Tailwind
colors: {
  custom: {
    50: '#6c9b85',
    500: '#2a7256',
    950: '#000000',
  },
}
SCSS
$custom: #2a7256;
$custom-light: #6c9b85;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7256",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 86
  },
  "hsl": {
    "h": 156.667,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49867,
    "c": 0.08513,
    "h": 164.3
  },
  "luminance": 0.13199
}

Semantic roles & 50–950 ramp

primary
#2A7256
secondary
#A45473
accent
#5285D6
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #2A7256

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

Preview Lab → · Contrast checker → · Palette generator →

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