#40B339#40B339

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

Color values

HEX#40B339
RGBrgb(64, 179, 57)
HSLhsl(117, 52%, 46%)
HSVhsv(117, 68%, 70%)
CMYKcmyk(64.2%, 0%, 68.2%, 29.8%)
CIE-LABlab(64.66, -55.48, 50.81)
CIE-LCHlch(64.66, 75.22, 137.52°)
OKLaboklab(67.7% -0.151 0.1167)
OKLCHoklch(67.7% 0.191 142.3)
XYZxyz(18.9719, 33.6237, 9.3603)
Luminance0.3363 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B339 #AC39B3
analogous
#7DB339 #40B339 #39B36F
triadic
#40B339 #3940B3 #B33940
tetradic
#40B339 #397DB3 #AC39B3 #B36F39
square
#40B339 #397DB3 #AC39B3 #B36F39
split-complementary
#40B339 #6F39B3 #B3397D
monochromatic
#1F561B #2F852A #40B339 #64CC5E #91DA8C

Accessibility & contrast

On white

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

On black

7.73
#40B339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B339
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B339#FFFFFF#000000##000000
##40B3391.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A328
Deuteranopia (green-blind)
#A99944
Tritanopia (blue-blind)
#29AE9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b339;
/* rgb */ color: rgb(64, 179, 57);
/* oklch */ color: oklch(67.7% 0.191 142.3);
Tailwind
colors: {
  custom: {
    50: '#83cb75',
    500: '#40b339',
    950: '#000000',
  },
}
SCSS
$custom: #40b339;
$custom-light: #83cb75;
$custom-dark: #000000;
JSON
{
  "hex": "#40b339",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 116.557,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.677,
    "c": 0.19085,
    "h": 142.3
  },
  "luminance": 0.33626
}

Semantic roles & 50–950 ramp

primary
#40B339
secondary
#C183C5
accent
#4DDBD3
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B339

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

Preview Lab → · Contrast checker → · Palette generator →

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