#40AF67#40AF67

#40AF67 is a light, vivid green. Relative luminance 0.327; OKLCH L 67.3% C 0.146 H 151.8°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#40AF67
RGBrgb(64, 175, 103)
HSLhsl(141, 46%, 47%)
HSVhsv(141, 63%, 69%)
CMYKcmyk(63.4%, 0%, 41.1%, 31.4%)
CIE-LABlab(63.94, -47.71, 27.86)
CIE-LCHlch(63.94, 55.25, 149.72°)
OKLaboklab(67.28% -0.1289 0.0691)
OKLCHoklch(67.28% 0.146 151.8)
XYZxyz(19.8909, 32.7272, 18.0981)
Luminance0.3273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF67 #AF4088
analogous
#51AF40 #40AF67 #40AF9F
triadic
#40AF67 #6740AF #AF6740
tetradic
#40AF67 #4051AF #AF4088 #AF9F40
square
#40AF67 #4051AF #AF4088 #AF9F40
split-complementary
#40AF67 #9F40AF #AF4051
monochromatic
#1F5532 #30824D #40AF67 #65C788 #92D7AA

Accessibility & contrast

On white

2.78
#40AF67 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#40AF67 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF67
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF67#FFFFFF#000000##000000
##40AF671.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA162
Deuteranopia (green-blind)
#A1976C
Tritanopia (blue-blind)
#14AC9D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40af67;
/* rgb */ color: rgb(64, 175, 103);
/* oklch */ color: oklch(67.3% 0.146 151.8);
Tailwind
colors: {
  custom: {
    50: '#81c893',
    500: '#40af67',
    950: '#000000',
  },
}
SCSS
$custom: #40af67;
$custom-light: #81c893;
$custom-dark: #000000;
JSON
{
  "hex": "#40af67",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 103
  },
  "hsl": {
    "h": 141.081,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67282,
    "c": 0.14629,
    "h": 151.8
  },
  "luminance": 0.32729
}

Semantic roles & 50–950 ramp

primary
#40AF67
secondary
#C388AE
accent
#52A8D6
background
#F8FCF9
surface
#EFF8F1
border
#CAD1CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #40AF67

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

Preview Lab → · Contrast checker → · Palette generator →

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