#40B223#40B223

#40B223 is a light, highly saturated green. Relative luminance 0.331; OKLCH L 67.3% C 0.202 H 140.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#40B223
RGBrgb(64, 178, 35)
HSLhsl(108, 67%, 42%)
HSVhsv(108, 80%, 70%)
CMYKcmyk(64%, 0%, 80.3%, 30.2%)
CIE-LABlab(64.20, -56.78, 58.15)
CIE-LCHlch(64.20, 81.27, 134.32°)
OKLaboklab(67.27% -0.1557 0.1291)
OKLCHoklch(67.27% 0.202 140.3)
XYZxyz(18.3372, 33.0503, 7.0028)
Luminance0.3305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B223 #9523B2
analogous
#88B223 #40B223 #23B24E
triadic
#40B223 #2340B2 #B22340
tetradic
#40B223 #2388B2 #9523B2 #B24E23
square
#40B223 #2388B2 #9523B2 #B24E23
split-complementary
#40B223 #4E23B2 #B22388
monochromatic
#1B4C0F #2E7F19 #40B223 #5AD83A #85E26D

Accessibility & contrast

On white

2.76
#40B223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#40B223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B223
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B223#FFFFFF#000000##000000
##40B2231.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#A99834
Tritanopia (blue-blind)
#2EAC98
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b223;
/* rgb */ color: rgb(64, 178, 35);
/* oklch */ color: oklch(67.3% 0.202 140.3);
Tailwind
colors: {
  custom: {
    50: '#84ca6a',
    500: '#40b223',
    950: '#000000',
  },
}
SCSS
$custom: #40b223;
$custom-light: #84ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#40b223",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 35
  },
  "hsl": {
    "h": 107.832,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67273,
    "c": 0.20228,
    "h": 140.3
  },
  "luminance": 0.33052
}

Semantic roles & 50–950 ramp

primary
#40B223
secondary
#B568C9
accent
#3EEAC7
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40B223

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

Preview Lab → · Contrast checker → · Palette generator →

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