#40A230#40A230

#40A230 is a light, vivid green. Relative luminance 0.271; OKLCH L 63.1% C 0.176 H 141.0°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#40A230
RGBrgb(64, 162, 48)
HSLhsl(112, 54%, 41%)
HSVhsv(112, 70%, 64%)
CMYKcmyk(60.5%, 0%, 70.4%, 36.5%)
CIE-LABlab(59.11, -50.17, 48.56)
CIE-LCHlch(59.11, 69.82, 135.93°)
OKLaboklab(63.08% -0.1372 0.1109)
OKLCHoklch(63.08% 0.176 141)
XYZxyz(15.5674, 27.1426, 7.2144)
Luminance0.2714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A230 #9230A2
analogous
#79A230 #40A230 #30A259
triadic
#40A230 #3040A2 #A23040
tetradic
#40A230 #3079A2 #9230A2 #A25930
square
#40A230 #3079A2 #9230A2 #A25930
split-complementary
#40A230 #5930A2 #A23079
monochromatic
#1B4414 #2D7322 #40A230 #59C847 #84D676

Accessibility & contrast

On white

3.27
#40A230 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#40A230 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A230
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A230#FFFFFF#000000##000000
##40A2301.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931F
Deuteranopia (green-blind)
#9A8B3B
Tritanopia (blue-blind)
#329D8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a230;
/* rgb */ color: rgb(64, 162, 48);
/* oklch */ color: oklch(63.1% 0.176 141.0);
Tailwind
colors: {
  custom: {
    50: '#80be6f',
    500: '#40a230',
    950: '#000000',
  },
}
SCSS
$custom: #40a230;
$custom-light: #80be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#40a230",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 111.579,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63084,
    "c": 0.17637,
    "h": 141
  },
  "luminance": 0.27144
}

Semantic roles & 50–950 ramp

primary
#40A230
secondary
#B36FBE
accent
#4ADEC9
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A230

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

Preview Lab → · Contrast checker → · Palette generator →

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