#40904D#40904D

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

Color values

HEX#40904D
RGBrgb(64, 144, 77)
HSLhsl(130, 38%, 41%)
HSVhsv(130, 56%, 56%)
CMYKcmyk(55.6%, 0%, 46.5%, 43.5%)
CIE-LABlab(53.57, -39.47, 28.30)
CIE-LCHlch(53.57, 48.56, 144.35°)
OKLaboklab(58.63% -0.1069 0.0693)
OKLCHoklch(58.63% 0.127 147.1)
XYZxyz(13.4263, 21.5712, 10.4759)
Luminance0.2157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40904D #904083
analogous
#5B9040 #40904D #409075
triadic
#40904D #4D4090 #904D40
tetradic
#40904D #405B90 #904083 #907540
square
#40904D #405B90 #904083 #907540
split-complementary
#40904D #754090 #90405B
monochromatic
#1A3B20 #2D6636 #40904D #58B567 #83C88E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40904D#FFFFFF#000000##000000
##40904D1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40904d;
/* rgb */ color: rgb(64, 144, 77);
/* oklch */ color: oklch(58.6% 0.127 147.1);
Tailwind
colors: {
  custom: {
    50: '#7cb180',
    500: '#40904d',
    950: '#000000',
  },
}
SCSS
$custom: #40904d;
$custom-light: #7cb180;
$custom-dark: #000000;
JSON
{
  "hex": "#40904d",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 77
  },
  "hsl": {
    "h": 129.75,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.58628,
    "c": 0.12741,
    "h": 147.1
  },
  "luminance": 0.21572
}

Semantic roles & 50–950 ramp

primary
#40904D
secondary
#B27AA9
accent
#59BBCE
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #40904D

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

Preview Lab → · Contrast checker → · Palette generator →

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