#40B033#40B033

#40B033 is a light, vivid green. Relative luminance 0.324; OKLCH L 66.9% C 0.191 H 141.6°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#40B033
RGBrgb(64, 176, 51)
HSLhsl(114, 55%, 45%)
HSVhsv(114, 71%, 69%)
CMYKcmyk(63.6%, 0%, 71%, 31%)
CIE-LABlab(63.65, -54.95, 52.13)
CIE-LCHlch(63.65, 75.74, 136.51°)
OKLaboklab(66.85% -0.1499 0.1187)
OKLCHoklch(66.85% 0.191 141.6)
XYZxyz(18.2363, 32.3779, 8.4198)
Luminance0.3238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B033 #A333B0
analogous
#7FB033 #40B033 #33B065
triadic
#40B033 #3340B0 #B03340
tetradic
#40B033 #337FB0 #A333B0 #B06533
square
#40B033 #337FB0 #A333B0 #B06533
split-complementary
#40B033 #6533B0 #B0337F
monochromatic
#1D5118 #2F8125 #40B033 #60CD53 #8CDB82

Accessibility & contrast

On white

2.81
#40B033 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#40B033 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B033
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B033#FFFFFF#000000##000000
##40B0331.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01F
Deuteranopia (green-blind)
#A7973F
Tritanopia (blue-blind)
#2CAB97
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40b033;
/* rgb */ color: rgb(64, 176, 51);
/* oklch */ color: oklch(66.9% 0.191 141.6);
Tailwind
colors: {
  custom: {
    50: '#83c972',
    500: '#40b033',
    950: '#000000',
  },
}
SCSS
$custom: #40b033;
$custom-light: #83c972;
$custom-dark: #000000;
JSON
{
  "hex": "#40b033",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 51
  },
  "hsl": {
    "h": 113.76,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.66851,
    "c": 0.19125,
    "h": 141.6
  },
  "luminance": 0.3238
}

Semantic roles & 50–950 ramp

primary
#40B033
secondary
#BD7BC4
accent
#49DECF
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B033

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

Preview Lab → · Contrast checker → · Palette generator →

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