#40C233#40C233

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

Color values

HEX#40C233
RGBrgb(64, 194, 51)
HSLhsl(115, 58%, 48%)
HSVhsv(115, 74%, 76%)
CMYKcmyk(67%, 0%, 73.7%, 23.9%)
CIE-LABlab(69.41, -61.12, 58.00)
CIE-LCHlch(69.41, 84.26, 136.50°)
OKLaboklab(71.61% -0.1666 0.131)
OKLCHoklch(71.61% 0.212 141.8)
XYZxyz(22.0025, 39.9103, 9.6752)
Luminance0.3991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C233 #B533C2
analogous
#88C233 #40C233 #33C26D
triadic
#40C233 #3340C2 #C23340
tetradic
#40C233 #3388C2 #B533C2 #C26D33
square
#40C233 #3388C2 #B533C2 #C26D33
split-complementary
#40C233 #6D33C2 #C23388
monochromatic
#20611A #309226 #40C233 #68D55E #96E18E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C233#FFFFFF#000000##000000
##40C2331.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)
#C7B017
Deuteranopia (green-blind)
#B7A542
Tritanopia (blue-blind)
#23BCA6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c233;
/* rgb */ color: rgb(64, 194, 51);
/* oklch */ color: oklch(71.6% 0.212 141.8);
Tailwind
colors: {
  custom: {
    50: '#86d674',
    500: '#40c233',
    950: '#000000',
  },
}
SCSS
$custom: #40c233;
$custom-light: #86d674;
$custom-dark: #000000;
JSON
{
  "hex": "#40c233",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 51
  },
  "hsl": {
    "h": 114.545,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71614,
    "c": 0.21195,
    "h": 141.8
  },
  "luminance": 0.39913
}

Semantic roles & 50–950 ramp

primary
#40C233
secondary
#C585CC
accent
#46E2D3
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0D1409
muted
#7D837B

Preview Lab

Preview with #40C233

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

Preview Lab → · Contrast checker → · Palette generator →

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