#2A7251#2A7251

#2A7251 is a mid, moderate teal. Relative luminance 0.131; OKLCH L 49.7% C 0.090 H 160.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2A7251
RGBrgb(42, 114, 81)
HSLhsl(153, 46%, 31%)
HSVhsv(153, 63%, 45%)
CMYKcmyk(63.2%, 0%, 28.9%, 55.3%)
CIE-LABlab(42.94, -30.85, 11.79)
CIE-LCHlch(42.94, 33.03, 159.09°)
OKLaboklab(49.73% -0.0845 0.03)
OKLCHoklch(49.73% 0.09 160.5)
XYZxyz(8.4566, 13.1201, 9.8698)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7251 #722A4B
analogous
#2A722D #2A7251 #2A6F72
triadic
#2A7251 #512A72 #72512A
tetradic
#2A7251 #2D2A72 #722A4B #6F722A
square
#2A7251 #2D2A72 #722A4B #6F722A
split-complementary
#2A7251 #722A6F #722D2A
monochromatic
#091911 #1A4531 #2A7251 #3A9F71 #56C190

Accessibility & contrast

On white

5.79
#2A7251 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2A7251 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7251
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7251#FFFFFF#000000##FFFFFF
##2A72511.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716A4F
Deuteranopia (green-blind)
#676353
Tritanopia (blue-blind)
#057269
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a7251;
/* rgb */ color: rgb(42, 114, 81);
/* oklch */ color: oklch(49.7% 0.090 160.5);
Tailwind
colors: {
  custom: {
    50: '#6b9b82',
    500: '#2a7251',
    950: '#000000',
  },
}
SCSS
$custom: #2a7251;
$custom-light: #6b9b82;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7251",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 81
  },
  "hsl": {
    "h": 152.5,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49733,
    "c": 0.0897,
    "h": 160.5
  },
  "luminance": 0.13121
}

Semantic roles & 50–950 ramp

primary
#2A7251
secondary
#A45479
accent
#528ED6
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2A7251

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

Preview Lab → · Contrast checker → · Palette generator →

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