#40B023#40B023

#40B023 is a light, highly saturated green. Relative luminance 0.323; OKLCH L 66.7% C 0.200 H 140.3°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#40B023
RGBrgb(64, 176, 35)
HSLhsl(108, 67%, 41%)
HSVhsv(108, 80%, 69%)
CMYKcmyk(63.6%, 0%, 80.1%, 31%)
CIE-LABlab(63.56, -56.10, 57.54)
CIE-LCHlch(63.56, 80.36, 134.27°)
OKLaboklab(66.74% -0.1539 0.1279)
OKLCHoklch(66.74% 0.2 140.3)
XYZxyz(17.9422, 32.2603, 6.8711)
Luminance0.3226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B023 #9323B0
analogous
#87B023 #40B023 #23B04D
triadic
#40B023 #2340B0 #B02340
tetradic
#40B023 #2387B0 #9323B0 #B04D23
square
#40B023 #2387B0 #9323B0 #B04D23
split-complementary
#40B023 #4D23B0 #B02387
monochromatic
#1B4A0F #2D7D19 #40B023 #59D839 #84E26C

Accessibility & contrast

On white

2.82
#40B023 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#40B023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B023
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B023#FFFFFF#000000##000000
##40B0231.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#A79634
Tritanopia (blue-blind)
#2FAA96
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40b023;
/* rgb */ color: rgb(64, 176, 35);
/* oklch */ color: oklch(66.7% 0.200 140.3);
Tailwind
colors: {
  custom: {
    50: '#83c96a',
    500: '#40b023',
    950: '#000000',
  },
}
SCSS
$custom: #40b023;
$custom-light: #83c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#40b023",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 35
  },
  "hsl": {
    "h": 107.66,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6674,
    "c": 0.20005,
    "h": 140.3
  },
  "luminance": 0.32262
}

Semantic roles & 50–950 ramp

primary
#40B023
secondary
#B467C8
accent
#3EEAC6
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40B023

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

Preview Lab → · Contrast checker → · Palette generator →

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