#40903E#40903E

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

Color values

HEX#40903E
RGBrgb(64, 144, 62)
HSLhsl(119, 40%, 40%)
HSVhsv(119, 57%, 56%)
CMYKcmyk(55.6%, 0%, 56.9%, 43.5%)
CIE-LABlab(53.37, -41.67, 35.83)
CIE-LCHlch(53.37, 54.95, 139.31°)
OKLaboklab(58.4% -0.1133 0.0852)
OKLCHoklch(58.4% 0.142 143.1)
XYZxyz(12.9564, 21.3832, 8.0011)
Luminance0.2138 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40903E #8E3E90
analogous
#69903E #40903E #3E9065
triadic
#40903E #3E4090 #903E40
tetradic
#40903E #3E6990 #8E3E90 #90653E
square
#40903E #3E6990 #8E3E90 #90653E
split-complementary
#40903E #653E90 #903E69
monochromatic
#1A3A19 #2D652C #40903E #58B655 #82C880

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40903E#FFFFFF#000000##000000
##40903E1.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)
#938436
Deuteranopia (green-blind)
#887D44
Tritanopia (blue-blind)
#348C7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #40903e;
/* rgb */ color: rgb(64, 144, 62);
/* oklch */ color: oklch(58.4% 0.142 143.1);
Tailwind
colors: {
  custom: {
    50: '#7cb176',
    500: '#40903e',
    950: '#000000',
  },
}
SCSS
$custom: #40903e;
$custom-light: #7cb176;
$custom-dark: #000000;
JSON
{
  "hex": "#40903e",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 62
  },
  "hsl": {
    "h": 118.537,
    "s": 39.806,
    "l": 40.392
  },
  "oklch": {
    "l": 0.58395,
    "c": 0.14179,
    "h": 143.1
  },
  "luminance": 0.21384
}

Semantic roles & 50–950 ramp

primary
#40903E
secondary
#B177B2
accent
#58D0CD
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #40903E

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

Preview Lab → · Contrast checker → · Palette generator →

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