#40AF85#40AF85

#40AF85 is a light, moderate teal. Relative luminance 0.334; OKLCH L 67.9% C 0.119 H 164.6°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#40AF85
RGBrgb(64, 175, 133)
HSLhsl(157, 46%, 47%)
HSVhsv(157, 63%, 69%)
CMYKcmyk(63.4%, 0%, 24%, 31.4%)
CIE-LABlab(64.52, -41.57, 12.40)
CIE-LCHlch(64.52, 43.38, 163.39°)
OKLaboklab(67.94% -0.1148 0.0317)
OKLCHoklch(67.94% 0.119 164.6)
XYZxyz(21.6758, 33.4411, 27.4982)
Luminance0.3344 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF85 #AF406A
analogous
#40AF4D #40AF85 #40A2AF
triadic
#40AF85 #8540AF #AF8540
tetradic
#40AF85 #4D40AF #AF406A #A2AF40
square
#40AF85 #4D40AF #AF406A #A2AF40
split-complementary
#40AF85 #AF40A2 #AF4D40
monochromatic
#1F5541 #308263 #40AF85 #65C7A2 #92D7BD

Accessibility & contrast

On white

2.73
#40AF85 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#40AF85 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF85
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF85#FFFFFF#000000##000000
##40AF851.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA383
Deuteranopia (green-blind)
#9C9888
Tritanopia (blue-blind)
#00AFA3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40af85;
/* rgb */ color: rgb(64, 175, 133);
/* oklch */ color: oklch(67.9% 0.119 164.6);
Tailwind
colors: {
  custom: {
    50: '#81c7a8',
    500: '#40af85',
    950: '#000000',
  },
}
SCSS
$custom: #40af85;
$custom-light: #81c7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#40af85",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 133
  },
  "hsl": {
    "h": 157.297,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67945,
    "c": 0.11911,
    "h": 164.6
  },
  "luminance": 0.33443
}

Semantic roles & 50–950 ramp

primary
#40AF85
secondary
#C3889E
accent
#5284D6
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #40AF85

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

Preview Lab → · Contrast checker → · Palette generator →

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