#40AF79#40AF79

#40AF79 is a light, vivid teal. Relative luminance 0.331; OKLCH L 67.7% C 0.129 H 158.6°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#40AF79
RGBrgb(64, 175, 121)
HSLhsl(151, 46%, 47%)
HSVhsv(151, 63%, 69%)
CMYKcmyk(63.4%, 0%, 30.9%, 31.4%)
CIE-LABlab(64.26, -44.21, 18.63)
CIE-LCHlch(64.26, 47.97, 157.15°)
OKLaboklab(67.66% -0.1205 0.0472)
OKLCHoklch(67.66% 0.129 158.6)
XYZxyz(20.8936, 33.1283, 23.3787)
Luminance0.3313 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF79 #AF4076
analogous
#40AF42 #40AF79 #40AEAF
triadic
#40AF79 #7940AF #AF7940
tetradic
#40AF79 #4240AF #AF4076 #AEAF40
square
#40AF79 #4240AF #AF4076 #AEAF40
split-complementary
#40AF79 #AF40AE #AF4240
monochromatic
#1F553B #30825A #40AF79 #65C797 #92D7B6

Accessibility & contrast

On white

2.75
#40AF79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#40AF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF79
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF79#FFFFFF#000000##000000
##40AF791.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA276
Deuteranopia (green-blind)
#9E977C
Tritanopia (blue-blind)
#00AEA1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40af79;
/* rgb */ color: rgb(64, 175, 121);
/* oklch */ color: oklch(67.7% 0.129 158.6);
Tailwind
colors: {
  custom: {
    50: '#81c8a0',
    500: '#40af79',
    950: '#000000',
  },
}
SCSS
$custom: #40af79;
$custom-light: #81c8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#40af79",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 121
  },
  "hsl": {
    "h": 150.811,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67656,
    "c": 0.12945,
    "h": 158.6
  },
  "luminance": 0.3313
}

Semantic roles & 50–950 ramp

primary
#40AF79
secondary
#C388A5
accent
#5292D6
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40AF79

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

Preview Lab → · Contrast checker → · Palette generator →

#40AF79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva