#40B23F#40B23F

#40B23F is a light, vivid green. Relative luminance 0.333; OKLCH L 67.5% C 0.185 H 143.1°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#40B23F
RGBrgb(64, 178, 63)
HSLhsl(119, 48%, 47%)
HSVhsv(119, 65%, 70%)
CMYKcmyk(64%, 0%, 64.6%, 30.2%)
CIE-LABlab(64.39, -54.52, 47.99)
CIE-LCHlch(64.39, 72.63, 138.65°)
OKLaboklab(67.49% -0.1481 0.1114)
OKLCHoklch(67.49% 0.185 143.1)
XYZxyz(18.9309, 33.2878, 10.1292)
Luminance0.3329 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B23F #B13FB2
analogous
#7AB23F #40B23F #3FB277
triadic
#40B23F #3F40B2 #B23F40
tetradic
#40B23F #3F7AB2 #B13FB2 #B2773F
square
#40B23F #3F7AB2 #B13FB2 #B2773F
split-complementary
#40B23F #773FB2 #B23F7A
monochromatic
#1F581F #30852F #40B23F #66C966 #93D993

Accessibility & contrast

On white

2.74
#40B23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#40B23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B23F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B23F#FFFFFF#000000##000000
##40B23F1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A231
Deuteranopia (green-blind)
#A89849
Tritanopia (blue-blind)
#28AD9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b23f;
/* rgb */ color: rgb(64, 178, 63);
/* oklch */ color: oklch(67.5% 0.185 143.1);
Tailwind
colors: {
  custom: {
    50: '#83ca79',
    500: '#40b23f',
    950: '#000000',
  },
}
SCSS
$custom: #40b23f;
$custom-light: #83ca79;
$custom-dark: #000000;
JSON
{
  "hex": "#40b23f",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 119.478,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.67493,
    "c": 0.18535,
    "h": 143.1
  },
  "luminance": 0.3329
}

Semantic roles & 50–950 ramp

primary
#40B23F
secondary
#C389C4
accent
#50D7D6
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B23F

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

Preview Lab → · Contrast checker → · Palette generator →

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