#40AF33#40AF33

#40AF33 is a light, vivid green. Relative luminance 0.320; OKLCH L 66.6% C 0.190 H 141.6°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#40AF33
RGBrgb(64, 175, 51)
HSLhsl(114, 55%, 44%)
HSVhsv(114, 71%, 69%)
CMYKcmyk(63.4%, 0%, 70.9%, 31.4%)
CIE-LABlab(63.33, -54.60, 51.79)
CIE-LCHlch(63.33, 75.26, 136.51°)
OKLaboklab(66.58% -0.149 0.118)
OKLCHoklch(66.58% 0.19 141.6)
XYZxyz(18.0409, 31.9872, 8.3547)
Luminance0.3199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF33 #A233AF
analogous
#7EAF33 #40AF33 #33AF64
triadic
#40AF33 #3340AF #AF3340
tetradic
#40AF33 #337EAF #A233AF #AF6433
square
#40AF33 #337EAF #A233AF #AF6433
split-complementary
#40AF33 #6433AF #AF337E
monochromatic
#1D5017 #2F8025 #40AF33 #5FCD52 #8BDB82

Accessibility & contrast

On white

2.84
#40AF33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#40AF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF33
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF33#FFFFFF#000000##000000
##40AF331.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1F
Deuteranopia (green-blind)
#A6963F
Tritanopia (blue-blind)
#2CAA96
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40af33;
/* rgb */ color: rgb(64, 175, 51);
/* oklch */ color: oklch(66.6% 0.190 141.6);
Tailwind
colors: {
  custom: {
    50: '#83c872',
    500: '#40af33',
    950: '#000000',
  },
}
SCSS
$custom: #40af33;
$custom-light: #83c872;
$custom-dark: #000000;
JSON
{
  "hex": "#40af33",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 113.71,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66584,
    "c": 0.19007,
    "h": 141.6
  },
  "luminance": 0.31989
}

Semantic roles & 50–950 ramp

primary
#40AF33
secondary
#BC7AC4
accent
#4ADECF
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AF33

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

Preview Lab → · Contrast checker → · Palette generator →

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