#40904E#40904E

#40904E is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.6% C 0.126 H 147.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#40904E
RGBrgb(64, 144, 78)
HSLhsl(131, 38%, 41%)
HSVhsv(131, 56%, 56%)
CMYKcmyk(55.6%, 0%, 45.8%, 43.5%)
CIE-LABlab(53.58, -39.30, 27.79)
CIE-LCHlch(53.58, 48.13, 144.74°)
OKLaboklab(58.65% -0.1065 0.0681)
OKLCHoklch(58.65% 0.126 147.4)
XYZxyz(13.4619, 21.5854, 10.6632)
Luminance0.2159 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40904E #904082
analogous
#5A9040 #40904E #409076
triadic
#40904E #4E4090 #904E40
tetradic
#40904E #405A90 #904082 #907640
square
#40904E #405A90 #904082 #907640
split-complementary
#40904E #764090 #90405A
monochromatic
#1A3B20 #2D6637 #40904E #58B568 #83C88F

Accessibility & contrast

On white

3.95
#40904E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#40904E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40904E
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40904E#FFFFFF#000000##000000
##40904E1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928549
Deuteranopia (green-blind)
#877D52
Tritanopia (blue-blind)
#308D80
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #40904e;
/* rgb */ color: rgb(64, 144, 78);
/* oklch */ color: oklch(58.6% 0.126 147.4);
Tailwind
colors: {
  custom: {
    50: '#7cb180',
    500: '#40904e',
    950: '#000000',
  },
}
SCSS
$custom: #40904e;
$custom-light: #7cb180;
$custom-dark: #000000;
JSON
{
  "hex": "#40904e",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 78
  },
  "hsl": {
    "h": 130.5,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.58645,
    "c": 0.12641,
    "h": 147.4
  },
  "luminance": 0.21587
}

Semantic roles & 50–950 ramp

primary
#40904E
secondary
#B27AA8
accent
#59BACE
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #40904E

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

Preview Lab → · Contrast checker → · Palette generator →

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