#40B335#40B335

#40B335 is a light, vivid green. Relative luminance 0.336; OKLCH L 67.7% C 0.194 H 141.9°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#40B335
RGBrgb(64, 179, 53)
HSLhsl(115, 54%, 45%)
HSVhsv(115, 70%, 70%)
CMYKcmyk(64.2%, 0%, 70.4%, 29.8%)
CIE-LABlab(64.63, -55.84, 52.37)
CIE-LCHlch(64.63, 76.55, 136.84°)
OKLaboklab(67.66% -0.1522 0.1195)
OKLCHoklch(67.66% 0.194 141.9)
XYZxyz(18.8760, 33.5854, 8.8553)
Luminance0.3359 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B335 #A835B3
analogous
#7FB335 #40B335 #35B369
triadic
#40B335 #3540B3 #B33540
tetradic
#40B335 #357FB3 #A835B3 #B36935
square
#40B335 #357FB3 #A835B3 #B36935
split-complementary
#40B335 #6935B3 #B3357F
monochromatic
#1E5519 #2F8427 #40B335 #62CD58 #8EDB87

Accessibility & contrast

On white

2.72
#40B335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#40B335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B335
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B335#FFFFFF#000000##000000
##40B3351.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A321
Deuteranopia (green-blind)
#A99941
Tritanopia (blue-blind)
#2AAE9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b335;
/* rgb */ color: rgb(64, 179, 53);
/* oklch */ color: oklch(67.7% 0.194 141.9);
Tailwind
colors: {
  custom: {
    50: '#83cb73',
    500: '#40b335',
    950: '#000000',
  },
}
SCSS
$custom: #40b335;
$custom-light: #83cb73;
$custom-dark: #000000;
JSON
{
  "hex": "#40b335",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 53
  },
  "hsl": {
    "h": 114.762,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.67665,
    "c": 0.19351,
    "h": 141.9
  },
  "luminance": 0.33587
}

Semantic roles & 50–950 ramp

primary
#40B335
secondary
#BF7FC5
accent
#4ADED1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B335

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

Preview Lab → · Contrast checker → · Palette generator →

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