#40945A#40945A

#40945A is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.9% C 0.120 H 151.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#40945A
RGBrgb(64, 148, 90)
HSLhsl(139, 40%, 42%)
HSVhsv(139, 57%, 58%)
CMYKcmyk(56.8%, 0%, 39.2%, 42%)
CIE-LABlab(55.08, -38.91, 23.20)
CIE-LCHlch(55.08, 45.31, 149.19°)
OKLaboklab(59.94% -0.1055 0.0578)
OKLCHoklch(59.94% 0.12 151.3)
XYZxyz(14.5487, 23.0067, 13.3449)
Luminance0.2301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40945A #94407A
analogous
#509440 #40945A #409484
triadic
#40945A #5A4094 #945A40
tetradic
#40945A #405094 #94407A #948440
square
#40945A #405094 #94407A #948440
split-complementary
#40945A #844094 #944050
monochromatic
#1B3F26 #2E6940 #40945A #5AB877 #84CA9A

Accessibility & contrast

On white

3.75
#40945A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#40945A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40945A
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40945A#FFFFFF#000000##000000
##40945A1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958956
Deuteranopia (green-blind)
#89815E
Tritanopia (blue-blind)
#2A9285
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #40945a;
/* rgb */ color: rgb(64, 148, 90);
/* oklch */ color: oklch(59.9% 0.120 151.3);
Tailwind
colors: {
  custom: {
    50: '#7cb489',
    500: '#40945a',
    950: '#000000',
  },
}
SCSS
$custom: #40945a;
$custom-light: #7cb489;
$custom-dark: #000000;
JSON
{
  "hex": "#40945a",
  "rgb": {
    "r": 64,
    "g": 148,
    "b": 90
  },
  "hsl": {
    "h": 138.571,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.59936,
    "c": 0.12029,
    "h": 151.3
  },
  "luminance": 0.23008
}

Semantic roles & 50–950 ramp

primary
#40945A
secondary
#B47BA3
accent
#58ABD0
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110B
muted
#7C807C

Preview Lab

Preview with #40945A

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

Preview Lab → · Contrast checker → · Palette generator →

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