#40A123#40A123

#40A123 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.7% C 0.183 H 139.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#40A123
RGBrgb(64, 161, 35)
HSLhsl(106, 64%, 38%)
HSVhsv(106, 78%, 63%)
CMYKcmyk(60.2%, 0%, 78.3%, 36.9%)
CIE-LABlab(58.70, -50.79, 52.91)
CIE-LCHlch(58.70, 73.35, 133.83°)
OKLaboklab(62.72% -0.1396 0.1182)
OKLCHoklch(62.72% 0.183 139.7)
XYZxyz(15.1619, 26.6997, 5.9443)
Luminance0.2670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A123 #8423A1
analogous
#7FA123 #40A123 #23A145
triadic
#40A123 #2340A1 #A12340
tetradic
#40A123 #237FA1 #8423A1 #A14523
square
#40A123 #237FA1 #8423A1 #A14523
split-complementary
#40A123 #4523A1 #A1237F
monochromatic
#183C0D #2C6F18 #40A123 #55D22F #7EDD62

Accessibility & contrast

On white

3.31
#40A123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#40A123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A123
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A123#FFFFFF#000000##000000
##40A1231.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69201
Deuteranopia (green-blind)
#9A8A31
Tritanopia (blue-blind)
#349C89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #40a123;
/* rgb */ color: rgb(64, 161, 35);
/* oklch */ color: oklch(62.7% 0.183 139.7);
Tailwind
colors: {
  custom: {
    50: '#81be68',
    500: '#40a123',
    950: '#000000',
  },
}
SCSS
$custom: #40a123;
$custom-light: #81be68;
$custom-dark: #000000;
JSON
{
  "hex": "#40a123",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 35
  },
  "hsl": {
    "h": 106.19,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62717,
    "c": 0.1829,
    "h": 139.7
  },
  "luminance": 0.26701
}

Semantic roles & 50–950 ramp

primary
#40A123
secondary
#AB5EC2
accent
#41E7C1
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A123

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

Preview Lab → · Contrast checker → · Palette generator →

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