#40C02F#40C02F

#40C02F is a light, highly saturated green. Relative luminance 0.390; OKLCH L 71.1% C 0.212 H 141.5°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#40C02F
RGBrgb(64, 192, 47)
HSLhsl(113, 61%, 47%)
HSVhsv(113, 76%, 75%)
CMYKcmyk(66.7%, 0%, 75.5%, 24.7%)
CIE-LABlab(68.75, -60.75, 58.72)
CIE-LCHlch(68.75, 84.49, 135.97°)
OKLaboklab(71.06% -0.1658 0.132)
OKLCHoklch(71.06% 0.212 141.5)
XYZxyz(21.4759, 38.9923, 9.0833)
Luminance0.3899 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C02F #AF2FC0
analogous
#88C02F #40C02F #2FC067
triadic
#40C02F #2F40C0 #C02F40
tetradic
#40C02F #2F88C0 #AF2FC0 #C0672F
square
#40C02F #2F88C0 #AF2FC0 #C0672F
split-complementary
#40C02F #672FC0 #C02F88
monochromatic
#1F5E17 #308F23 #40C02F #65D656 #92E288

Accessibility & contrast

On white

2.39
#40C02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#40C02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C02F
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C02F#FFFFFF#000000##000000
##40C02F1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE0E
Deuteranopia (green-blind)
#B6A43F
Tritanopia (blue-blind)
#25BAA4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40c02f;
/* rgb */ color: rgb(64, 192, 47);
/* oklch */ color: oklch(71.1% 0.212 141.5);
Tailwind
colors: {
  custom: {
    50: '#86d472',
    500: '#40c02f',
    950: '#000000',
  },
}
SCSS
$custom: #40c02f;
$custom-light: #86d472;
$custom-dark: #000000;
JSON
{
  "hex": "#40c02f",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 47
  },
  "hsl": {
    "h": 112.966,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.71059,
    "c": 0.21192,
    "h": 141.5
  },
  "luminance": 0.38994
}

Semantic roles & 50–950 ramp

primary
#40C02F
secondary
#C37FCB
accent
#44E4D1
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0D1408
muted
#7D837B

Preview Lab

Preview with #40C02F

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

Preview Lab → · Contrast checker → · Palette generator →

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