#40903A#40903A

#40903A is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.3% C 0.145 H 142.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#40903A
RGBrgb(64, 144, 58)
HSLhsl(116, 43%, 40%)
HSVhsv(116, 60%, 56%)
CMYKcmyk(55.6%, 0%, 59.7%, 43.5%)
CIE-LABlab(53.32, -42.17, 37.74)
CIE-LCHlch(53.32, 56.59, 138.17°)
OKLaboklab(58.34% -0.1149 0.089)
OKLCHoklch(58.34% 0.145 142.2)
XYZxyz(12.8507, 21.3409, 7.4442)
Luminance0.2134 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40903A #8A3A90
analogous
#6B903A #40903A #3A905F
triadic
#40903A #3A4090 #903A40
tetradic
#40903A #3A6B90 #8A3A90 #905F3A
square
#40903A #3A6B90 #8A3A90 #905F3A
split-complementary
#40903A #5F3A90 #903A6B
monochromatic
#193917 #2D6428 #40903A #56B84F #80CA7B

Accessibility & contrast

On white

3.99
#40903A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#40903A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40903A
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40903A#FFFFFF#000000##000000
##40903A1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938431
Deuteranopia (green-blind)
#897D41
Tritanopia (blue-blind)
#358C7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #40903a;
/* rgb */ color: rgb(64, 144, 58);
/* oklch */ color: oklch(58.3% 0.145 142.2);
Tailwind
colors: {
  custom: {
    50: '#7db173',
    500: '#40903a',
    950: '#000000',
  },
}
SCSS
$custom: #40903a;
$custom-light: #7db173;
$custom-dark: #000000;
JSON
{
  "hex": "#40903a",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 58
  },
  "hsl": {
    "h": 115.814,
    "s": 42.574,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58343,
    "c": 0.14535,
    "h": 142.2
  },
  "luminance": 0.21342
}

Semantic roles & 50–950 ramp

primary
#40903A
secondary
#AF73B3
accent
#55D2CA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #40903A

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

Preview Lab → · Contrast checker → · Palette generator →

#40903A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva