#40A833#40A833

#40A833 is a light, vivid green. Relative luminance 0.293; OKLCH L 64.7% C 0.182 H 141.5°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#40A833
RGBrgb(64, 168, 51)
HSLhsl(113, 53%, 43%)
HSVhsv(113, 70%, 66%)
CMYKcmyk(61.9%, 0%, 69.6%, 34.1%)
CIE-LABlab(61.07, -52.09, 49.43)
CIE-LCHlch(61.07, 71.81, 136.50°)
OKLaboklab(64.72% -0.1422 0.1131)
OKLCHoklch(64.72% 0.182 141.5)
XYZxyz(16.7137, 29.3327, 7.9123)
Luminance0.2933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A833 #9B33A8
analogous
#7BA833 #40A833 #33A860
triadic
#40A833 #3340A8 #A83340
tetradic
#40A833 #337BA8 #9B33A8 #A86033
square
#40A833 #337BA8 #9B33A8 #A86033
split-complementary
#40A833 #6033A8 #A8337B
monochromatic
#1C4A16 #2E7925 #40A833 #5CC94F #88D87E

Accessibility & contrast

On white

3.06
#40A833 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#40A833 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A833
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A833#FFFFFF#000000##000000
##40A8331.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9922
Deuteranopia (green-blind)
#9F903E
Tritanopia (blue-blind)
#2FA391
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #40a833;
/* rgb */ color: rgb(64, 168, 51);
/* oklch */ color: oklch(64.7% 0.182 141.5);
Tailwind
colors: {
  custom: {
    50: '#81c371',
    500: '#40a833',
    950: '#000000',
  },
}
SCSS
$custom: #40a833;
$custom-light: #81c371;
$custom-dark: #000000;
JSON
{
  "hex": "#40a833",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 51
  },
  "hsl": {
    "h": 113.333,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.64717,
    "c": 0.18167,
    "h": 141.5
  },
  "luminance": 0.29334
}

Semantic roles & 50–950 ramp

primary
#40A833
secondary
#B876C1
accent
#4BDDCD
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #40A833

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

Preview Lab → · Contrast checker → · Palette generator →

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