#40904F#40904F

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

Color values

HEX#40904F
RGBrgb(64, 144, 79)
HSLhsl(131, 38%, 41%)
HSVhsv(131, 56%, 56%)
CMYKcmyk(55.6%, 0%, 45.1%, 43.5%)
CIE-LABlab(53.60, -39.14, 27.27)
CIE-LCHlch(53.60, 47.70, 145.13°)
OKLaboklab(58.66% -0.106 0.067)
OKLCHoklch(58.66% 0.125 147.7)
XYZxyz(13.4980, 21.5999, 10.8535)
Luminance0.2160 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40904F #904081
analogous
#599040 #40904F #409077
triadic
#40904F #4F4090 #904F40
tetradic
#40904F #405990 #904081 #907740
square
#40904F #405990 #904081 #907740
split-complementary
#40904F #774090 #904059
monochromatic
#1A3B21 #2D6638 #40904F #58B56A #83C890

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40904F#FFFFFF#000000##000000
##40904F1.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)
#92854A
Deuteranopia (green-blind)
#877D53
Tritanopia (blue-blind)
#2F8D80
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #40904f;
/* rgb */ color: rgb(64, 144, 79);
/* oklch */ color: oklch(58.7% 0.125 147.7);
Tailwind
colors: {
  custom: {
    50: '#7cb181',
    500: '#40904f',
    950: '#000000',
  },
}
SCSS
$custom: #40904f;
$custom-light: #7cb181;
$custom-dark: #000000;
JSON
{
  "hex": "#40904f",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 79
  },
  "hsl": {
    "h": 131.25,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.58663,
    "c": 0.12541,
    "h": 147.7
  },
  "luminance": 0.21601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40904F

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

Preview Lab → · Contrast checker → · Palette generator →

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