#40904A#40904A

#40904A is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.6% C 0.130 H 146.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#40904A
RGBrgb(64, 144, 74)
HSLhsl(128, 38%, 41%)
HSVhsv(128, 56%, 56%)
CMYKcmyk(55.6%, 0%, 48.6%, 43.5%)
CIE-LABlab(53.52, -39.94, 29.84)
CIE-LCHlch(53.52, 49.86, 143.24°)
OKLaboklab(58.58% -0.1083 0.0726)
OKLCHoklch(58.58% 0.13 146.1)
XYZxyz(13.3228, 21.5298, 9.9308)
Luminance0.2153 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40904A #904086
analogous
#5E9040 #40904A #409072
triadic
#40904A #4A4090 #904A40
tetradic
#40904A #405E90 #904086 #907240
square
#40904A #405E90 #904086 #907240
split-complementary
#40904A #724090 #90405E
monochromatic
#1A3B1E #2D6634 #40904A #58B564 #83C88B

Accessibility & contrast

On white

3.96
#40904A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#40904A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40904A
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40904A#FFFFFF#000000##000000
##40904A1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928444
Deuteranopia (green-blind)
#877D4F
Tritanopia (blue-blind)
#318D7F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #40904a;
/* rgb */ color: rgb(64, 144, 74);
/* oklch */ color: oklch(58.6% 0.130 146.1);
Tailwind
colors: {
  custom: {
    50: '#7cb17e',
    500: '#40904a',
    950: '#000000',
  },
}
SCSS
$custom: #40904a;
$custom-light: #7cb17e;
$custom-dark: #000000;
JSON
{
  "hex": "#40904a",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 74
  },
  "hsl": {
    "h": 127.5,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.58577,
    "c": 0.13038,
    "h": 146.1
  },
  "luminance": 0.21531
}

Semantic roles & 50–950 ramp

primary
#40904A
secondary
#B27AAB
accent
#59C0CE
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #40904A

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

Preview Lab → · Contrast checker → · Palette generator →

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