#40B334#40B334

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

Color values

HEX#40B334
RGBrgb(64, 179, 52)
HSLhsl(114, 55%, 45%)
HSVhsv(114, 71%, 70%)
CMYKcmyk(64.2%, 0%, 70.9%, 29.8%)
CIE-LABlab(64.62, -55.92, 52.75)
CIE-LCHlch(64.62, 76.87, 136.67°)
OKLaboklab(67.66% -0.1525 0.1202)
OKLCHoklch(67.66% 0.194 141.8)
XYZxyz(18.8533, 33.5763, 8.7355)
Luminance0.3358 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B334 #A734B3
analogous
#7FB334 #40B334 #34B368
triadic
#40B334 #3440B3 #B33440
tetradic
#40B334 #347FB3 #A734B3 #B36834
square
#40B334 #347FB3 #A734B3 #B36834
split-complementary
#40B334 #6834B3 #B3347F
monochromatic
#1E5418 #2F8426 #40B334 #62CE56 #8EDC86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B334#FFFFFF#000000##000000
##40B3341.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)
#B7A220
Deuteranopia (green-blind)
#A99940
Tritanopia (blue-blind)
#2AAE9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b334;
/* rgb */ color: rgb(64, 179, 52);
/* oklch */ color: oklch(67.7% 0.194 141.8);
Tailwind
colors: {
  custom: {
    50: '#83cb73',
    500: '#40b334',
    950: '#000000',
  },
}
SCSS
$custom: #40b334;
$custom-light: #83cb73;
$custom-dark: #000000;
JSON
{
  "hex": "#40b334",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 114.331,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.67656,
    "c": 0.19415,
    "h": 141.8
  },
  "luminance": 0.33578
}

Semantic roles & 50–950 ramp

primary
#40B334
secondary
#BF7DC5
accent
#49DED0
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B334

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

Preview Lab → · Contrast checker → · Palette generator →

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