#40A223#40A223

#40A223 is a light, vivid green. Relative luminance 0.271; OKLCH L 63.0% C 0.184 H 139.8°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#40A223
RGBrgb(64, 162, 35)
HSLhsl(106, 64%, 39%)
HSVhsv(106, 78%, 64%)
CMYKcmyk(60.5%, 0%, 78.4%, 36.5%)
CIE-LABlab(59.02, -51.15, 53.23)
CIE-LCHlch(59.02, 73.82, 133.86°)
OKLaboklab(62.99% -0.1406 0.1188)
OKLCHoklch(62.99% 0.184 139.8)
XYZxyz(15.3374, 27.0506, 6.0028)
Luminance0.2705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A223 #8523A2
analogous
#7FA223 #40A223 #23A245
triadic
#40A223 #2340A2 #A22340
tetradic
#40A223 #237FA2 #8523A2 #A24523
square
#40A223 #237FA2 #8523A2 #A24523
split-complementary
#40A223 #4523A2 #A2237F
monochromatic
#183D0D #2C7018 #40A223 #55D230 #7EDD62

Accessibility & contrast

On white

3.28
#40A223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#40A223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A223
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A223#FFFFFF#000000##000000
##40A2231.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9B8B31
Tritanopia (blue-blind)
#339C8A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a223;
/* rgb */ color: rgb(64, 162, 35);
/* oklch */ color: oklch(63.0% 0.184 139.8);
Tailwind
colors: {
  custom: {
    50: '#81be68',
    500: '#40a223',
    950: '#000000',
  },
}
SCSS
$custom: #40a223;
$custom-light: #81be68;
$custom-dark: #000000;
JSON
{
  "hex": "#40a223",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 106.299,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62986,
    "c": 0.18407,
    "h": 139.8
  },
  "luminance": 0.27052
}

Semantic roles & 50–950 ramp

primary
#40A223
secondary
#AC5EC2
accent
#40E7C1
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A223

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

Preview Lab → · Contrast checker → · Palette generator →

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