#40C231#40C231

#40C231 is a light, highly saturated green. Relative luminance 0.399; OKLCH L 71.6% C 0.213 H 141.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#40C231
RGBrgb(64, 194, 49)
HSLhsl(114, 60%, 48%)
HSVhsv(114, 75%, 76%)
CMYKcmyk(67%, 0%, 74.7%, 23.9%)
CIE-LABlab(69.39, -61.27, 58.69)
CIE-LCHlch(69.39, 84.84, 136.23°)
OKLaboklab(71.6% -0.1671 0.1322)
OKLCHoklch(71.6% 0.213 141.7)
XYZxyz(21.9593, 39.8930, 9.4480)
Luminance0.3990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C231 #B331C2
analogous
#89C231 #40C231 #31C26A
triadic
#40C231 #3140C2 #C23140
tetradic
#40C231 #3189C2 #B331C2 #C26A31
square
#40C231 #3189C2 #B331C2 #C26A31
split-complementary
#40C231 #6A31C2 #C23189
monochromatic
#206018 #309125 #40C231 #67D65B #94E28C

Accessibility & contrast

On white

2.34
#40C231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#40C231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C231
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C231#FFFFFF#000000##000000
##40C2311.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B012
Deuteranopia (green-blind)
#B7A541
Tritanopia (blue-blind)
#24BCA6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c231;
/* rgb */ color: rgb(64, 194, 49);
/* oklch */ color: oklch(71.6% 0.213 141.7);
Tailwind
colors: {
  custom: {
    50: '#86d673',
    500: '#40c231',
    950: '#000000',
  },
}
SCSS
$custom: #40c231;
$custom-light: #86d673;
$custom-dark: #000000;
JSON
{
  "hex": "#40c231",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 113.793,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71599,
    "c": 0.21306,
    "h": 141.7
  },
  "luminance": 0.39895
}

Semantic roles & 50–950 ramp

primary
#40C231
secondary
#C483CC
accent
#45E3D3
background
#F9FDF7
surface
#F1FAED
border
#CBD3C8
text
#0D1409
muted
#7E837B

Preview Lab

Preview with #40C231

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

Preview Lab → · Contrast checker → · Palette generator →

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