#40B124#40B124

#40B124 is a light, highly saturated green. Relative luminance 0.327; OKLCH L 67.0% C 0.201 H 140.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#40B124
RGBrgb(64, 177, 36)
HSLhsl(108, 66%, 42%)
HSVhsv(108, 80%, 69%)
CMYKcmyk(63.8%, 0%, 79.7%, 30.6%)
CIE-LABlab(63.88, -56.38, 57.55)
CIE-LCHlch(63.88, 80.57, 134.41°)
OKLaboklab(67.01% -0.1546 0.128)
OKLCHoklch(67.01% 0.201 140.4)
XYZxyz(18.1541, 32.6599, 7.0160)
Luminance0.3266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B124 #9524B1
analogous
#87B124 #40B124 #24B14F
triadic
#40B124 #2440B1 #B12440
tetradic
#40B124 #2487B1 #9524B1 #B14F24
square
#40B124 #2487B1 #9524B1 #B14F24
split-complementary
#40B124 #4F24B1 #B12487
monochromatic
#1B4B0F #2E7E1A #40B124 #5AD73B #85E16E

Accessibility & contrast

On white

2.79
#40B124 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#40B124 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B124
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B124#FFFFFF#000000##000000
##40B1241.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#A89735
Tritanopia (blue-blind)
#2EAB97
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b124;
/* rgb */ color: rgb(64, 177, 36);
/* oklch */ color: oklch(67.0% 0.201 140.4);
Tailwind
colors: {
  custom: {
    50: '#84c96b',
    500: '#40b124',
    950: '#000000',
  },
}
SCSS
$custom: #40b124;
$custom-light: #84c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#40b124",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 36
  },
  "hsl": {
    "h": 108.085,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67012,
    "c": 0.2007,
    "h": 140.4
  },
  "luminance": 0.32662
}

Semantic roles & 50–950 ramp

primary
#40B124
secondary
#B569C8
accent
#3FE9C7
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40B124

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

Preview Lab → · Contrast checker → · Palette generator →

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