#40903C#40903C

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

Color values

HEX#40903C
RGBrgb(64, 144, 60)
HSLhsl(117, 41%, 40%)
HSVhsv(117, 58%, 56%)
CMYKcmyk(55.6%, 0%, 58.3%, 43.5%)
CIE-LABlab(53.34, -41.92, 36.79)
CIE-LCHlch(53.34, 55.78, 138.73°)
OKLaboklab(58.37% -0.1141 0.0871)
OKLCHoklch(58.37% 0.144 142.6)
XYZxyz(12.9026, 21.3617, 7.7174)
Luminance0.2136 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40903C #8C3C90
analogous
#6A903C #40903C #3C9062
triadic
#40903C #3C4090 #903C40
tetradic
#40903C #3C6A90 #8C3C90 #90623C
square
#40903C #3C6A90 #8C3C90 #90623C
split-complementary
#40903C #623C90 #903C6A
monochromatic
#1A3A18 #2D652A #40903C #57B752 #81C97D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40903C#FFFFFF#000000##000000
##40903C1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938434
Deuteranopia (green-blind)
#897D42
Tritanopia (blue-blind)
#348C7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #40903c;
/* rgb */ color: rgb(64, 144, 60);
/* oklch */ color: oklch(58.4% 0.144 142.6);
Tailwind
colors: {
  custom: {
    50: '#7cb174',
    500: '#40903c',
    950: '#000000',
  },
}
SCSS
$custom: #40903c;
$custom-light: #7cb174;
$custom-dark: #000000;
JSON
{
  "hex": "#40903c",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 60
  },
  "hsl": {
    "h": 117.143,
    "s": 41.176,
    "l": 40
  },
  "oklch": {
    "l": 0.58369,
    "c": 0.14358,
    "h": 142.6
  },
  "luminance": 0.21363
}

Semantic roles & 50–950 ramp

primary
#40903C
secondary
#B075B3
accent
#57D1CB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #40903C

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

Preview Lab → · Contrast checker → · Palette generator →

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