#40A233#40A233

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

Color values

HEX#40A233
RGBrgb(64, 162, 51)
HSLhsl(113, 52%, 42%)
HSVhsv(113, 69%, 64%)
CMYKcmyk(60.5%, 0%, 68.5%, 36.5%)
CIE-LABlab(59.13, -49.89, 47.36)
CIE-LCHlch(59.13, 68.79, 136.49°)
OKLaboklab(63.11% -0.1362 0.1087)
OKLCHoklch(63.11% 0.174 141.4)
XYZxyz(15.6314, 27.1682, 7.5516)
Luminance0.2717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A233 #9533A2
analogous
#78A233 #40A233 #33A25E
triadic
#40A233 #3340A2 #A23340
tetradic
#40A233 #3378A2 #9533A2 #A25E33
square
#40A233 #3378A2 #9533A2 #A25E33
split-complementary
#40A233 #5E33A2 #A23378
monochromatic
#1B4516 #2E7324 #40A233 #5AC74C #85D57A

Accessibility & contrast

On white

3.26
#40A233 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A233#FFFFFF#000000##000000
##40A2331.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69324
Deuteranopia (green-blind)
#9A8B3D
Tritanopia (blue-blind)
#319D8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a233;
/* rgb */ color: rgb(64, 162, 51);
/* oklch */ color: oklch(63.1% 0.174 141.4);
Tailwind
colors: {
  custom: {
    50: '#80be70',
    500: '#40a233',
    950: '#000000',
  },
}
SCSS
$custom: #40a233;
$custom-light: #80be70;
$custom-dark: #000000;
JSON
{
  "hex": "#40a233",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 112.973,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63111,
    "c": 0.17431,
    "h": 141.4
  },
  "luminance": 0.2717
}

Semantic roles & 50–950 ramp

primary
#40A233
secondary
#B573BE
accent
#4CDCCB
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A233

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

Preview Lab → · Contrast checker → · Palette generator →

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