#40904B#40904B

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

Color values

HEX#40904B
RGBrgb(64, 144, 75)
HSLhsl(128, 38%, 41%)
HSVhsv(128, 56%, 56%)
CMYKcmyk(55.6%, 0%, 47.9%, 43.5%)
CIE-LABlab(53.54, -39.79, 29.33)
CIE-LCHlch(53.54, 49.43, 143.60°)
OKLaboklab(58.59% -0.1078 0.0715)
OKLCHoklch(58.59% 0.129 146.4)
XYZxyz(13.3568, 21.5434, 10.1097)
Luminance0.2155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40904B #904085
analogous
#5D9040 #40904B #409073
triadic
#40904B #4B4090 #904B40
tetradic
#40904B #405D90 #904085 #907340
square
#40904B #405D90 #904085 #907340
split-complementary
#40904B #734090 #90405D
monochromatic
#1A3B1F #2D6635 #40904B #58B565 #83C88C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40904B#FFFFFF#000000##000000
##40904B1.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)
#928446
Deuteranopia (green-blind)
#877D50
Tritanopia (blue-blind)
#318D80
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #40904b;
/* rgb */ color: rgb(64, 144, 75);
/* oklch */ color: oklch(58.6% 0.129 146.4);
Tailwind
colors: {
  custom: {
    50: '#7cb17e',
    500: '#40904b',
    950: '#000000',
  },
}
SCSS
$custom: #40904b;
$custom-light: #7cb17e;
$custom-dark: #000000;
JSON
{
  "hex": "#40904b",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 75
  },
  "hsl": {
    "h": 128.25,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.58593,
    "c": 0.1294,
    "h": 146.4
  },
  "luminance": 0.21545
}

Semantic roles & 50–950 ramp

primary
#40904B
secondary
#B27AAA
accent
#59BECE
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #40904B

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

Preview Lab → · Contrast checker → · Palette generator →

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