#40B333#40B333

#40B333 is a light, vivid green. Relative luminance 0.336; OKLCH L 67.6% C 0.195 H 141.7°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#40B333
RGBrgb(64, 179, 51)
HSLhsl(114, 56%, 45%)
HSVhsv(114, 72%, 70%)
CMYKcmyk(64.2%, 0%, 71.5%, 29.8%)
CIE-LABlab(64.62, -56.01, 53.12)
CIE-LCHlch(64.62, 77.19, 136.51°)
OKLaboklab(67.65% -0.1528 0.1208)
OKLCHoklch(67.65% 0.195 141.7)
XYZxyz(18.8310, 33.5673, 8.6181)
Luminance0.3357 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B333 #A633B3
analogous
#80B333 #40B333 #33B366
triadic
#40B333 #3340B3 #B33340
tetradic
#40B333 #3380B3 #A633B3 #B36633
square
#40B333 #3380B3 #A633B3 #B36633
split-complementary
#40B333 #6633B3 #B33380
monochromatic
#1E5418 #2F8325 #40B333 #61CE55 #8DDC84

Accessibility & contrast

On white

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

On black

7.71
#40B333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B333
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B333#FFFFFF#000000##000000
##40B3331.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21E
Deuteranopia (green-blind)
#A99940
Tritanopia (blue-blind)
#2BAD9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b333;
/* rgb */ color: rgb(64, 179, 51);
/* oklch */ color: oklch(67.6% 0.195 141.7);
Tailwind
colors: {
  custom: {
    50: '#83cb72',
    500: '#40b333',
    950: '#000000',
  },
}
SCSS
$custom: #40b333;
$custom-light: #83cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#40b333",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 51
  },
  "hsl": {
    "h": 113.906,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.67648,
    "c": 0.19477,
    "h": 141.7
  },
  "luminance": 0.33569
}

Semantic roles & 50–950 ramp

primary
#40B333
secondary
#BE7CC6
accent
#49DFD0
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B333

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

Preview Lab → · Contrast checker → · Palette generator →

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