#40903F#40903F

#40903F is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.4% C 0.141 H 143.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#40903F
RGBrgb(64, 144, 63)
HSLhsl(119, 39%, 41%)
HSVhsv(119, 56%, 56%)
CMYKcmyk(55.6%, 0%, 56.3%, 43.5%)
CIE-LABlab(53.38, -41.53, 35.34)
CIE-LCHlch(53.38, 54.54, 139.61°)
OKLaboklab(58.41% -0.1129 0.0842)
OKLCHoklch(58.41% 0.141 143.3)
XYZxyz(12.9841, 21.3943, 8.1470)
Luminance0.2140 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40903F #8F3F90
analogous
#68903F #40903F #3F9066
triadic
#40903F #3F4090 #903F40
tetradic
#40903F #3F6890 #8F3F90 #90663F
square
#40903F #3F6890 #8F3F90 #90663F
split-complementary
#40903F #663F90 #903F68
monochromatic
#1A3B1A #2D652C #40903F #58B557 #82C881

Accessibility & contrast

On white

3.98
#40903F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#40903F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40903F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40903F#FFFFFF#000000##000000
##40903F1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938437
Deuteranopia (green-blind)
#887D45
Tritanopia (blue-blind)
#348C7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #40903f;
/* rgb */ color: rgb(64, 144, 63);
/* oklch */ color: oklch(58.4% 0.141 143.3);
Tailwind
colors: {
  custom: {
    50: '#7cb176',
    500: '#40903f',
    950: '#000000',
  },
}
SCSS
$custom: #40903f;
$custom-light: #7cb176;
$custom-dark: #000000;
JSON
{
  "hex": "#40903f",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 63
  },
  "hsl": {
    "h": 119.259,
    "s": 39.13,
    "l": 40.588
  },
  "oklch": {
    "l": 0.58409,
    "c": 0.14087,
    "h": 143.3
  },
  "luminance": 0.21395
}

Semantic roles & 50–950 ramp

primary
#40903F
secondary
#B278B2
accent
#59CFCE
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1109
muted
#7C807B

Preview Lab

Preview with #40903F

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

Preview Lab → · Contrast checker → · Palette generator →

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