#40B02B#40B02B

#40B02B is a light, vivid green. Relative luminance 0.323; OKLCH L 66.8% C 0.196 H 140.9°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#40B02B
RGBrgb(64, 176, 43)
HSLhsl(111, 61%, 43%)
HSVhsv(111, 76%, 69%)
CMYKcmyk(63.6%, 0%, 75.6%, 31%)
CIE-LABlab(63.60, -55.58, 55.01)
CIE-LCHlch(63.60, 78.20, 135.30°)
OKLaboklab(66.79% -0.1521 0.1237)
OKLCHoklch(66.79% 0.196 140.9)
XYZxyz(18.0748, 32.3133, 7.5696)
Luminance0.3231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B02B #9B2BB0
analogous
#83B02B #40B02B #2BB058
triadic
#40B02B #2B40B0 #B02B40
tetradic
#40B02B #2B83B0 #9B2BB0 #B0582B
square
#40B02B #2B83B0 #9B2BB0 #B0582B
split-complementary
#40B02B #582BB0 #B02B83
monochromatic
#1C4E13 #2E7F1F #40B02B #5CD246 #88DE78

Accessibility & contrast

On white

2.81
#40B02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#40B02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B02B
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B02B#FFFFFF#000000##000000
##40B02B1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00E
Deuteranopia (green-blind)
#A79739
Tritanopia (blue-blind)
#2DAA97
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40b02b;
/* rgb */ color: rgb(64, 176, 43);
/* oklch */ color: oklch(66.8% 0.196 140.9);
Tailwind
colors: {
  custom: {
    50: '#83c96e',
    500: '#40b02b',
    950: '#000000',
  },
}
SCSS
$custom: #40b02b;
$custom-light: #83c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b02b",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 110.526,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6679,
    "c": 0.19601,
    "h": 140.9
  },
  "luminance": 0.32315
}

Semantic roles & 50–950 ramp

primary
#40B02B
secondary
#B871C6
accent
#44E4CB
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B02B

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

Preview Lab → · Contrast checker → · Palette generator →

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