#40B423#40B423

#40B423 is a light, highly saturated green. Relative luminance 0.339; OKLCH L 67.8% C 0.204 H 140.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#40B423
RGBrgb(64, 180, 35)
HSLhsl(108, 67%, 42%)
HSVhsv(108, 81%, 71%)
CMYKcmyk(64.4%, 0%, 80.6%, 29.4%)
CIE-LABlab(64.84, -57.47, 58.75)
CIE-LCHlch(64.84, 82.18, 134.37°)
OKLaboklab(67.81% -0.1575 0.1304)
OKLCHoklch(67.81% 0.205 140.4)
XYZxyz(18.7381, 33.8520, 7.1364)
Luminance0.3385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B423 #9723B4
analogous
#89B423 #40B423 #23B44F
triadic
#40B423 #2340B4 #B42340
tetradic
#40B423 #2389B4 #9723B4 #B44F23
square
#40B423 #2389B4 #9723B4 #B44F23
split-complementary
#40B423 #4F23B4 #B42389
monochromatic
#1C4E0F #2E8119 #40B423 #5BD93B #86E36E

Accessibility & contrast

On white

2.70
#40B423 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#40B423 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B423
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B423#FFFFFF#000000##000000
##40B4231.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AB9A35
Tritanopia (blue-blind)
#2DAE9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b423;
/* rgb */ color: rgb(64, 180, 35);
/* oklch */ color: oklch(67.8% 0.204 140.4);
Tailwind
colors: {
  custom: {
    50: '#84cb6b',
    500: '#40b423',
    950: '#000000',
  },
}
SCSS
$custom: #40b423;
$custom-light: #84cb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#40b423",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 35
  },
  "hsl": {
    "h": 108,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67806,
    "c": 0.2045,
    "h": 140.4
  },
  "luminance": 0.33854
}

Semantic roles & 50–950 ramp

primary
#40B423
secondary
#B669C9
accent
#3DEAC8
background
#F8FCF6
surface
#F0F9EC
border
#CBD2C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40B423

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

Preview Lab → · Contrast checker → · Palette generator →

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