#40975A#40975A

#40975A is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.7% C 0.125 H 150.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#40975A
RGBrgb(64, 151, 90)
HSLhsl(138, 40%, 42%)
HSVhsv(138, 58%, 59%)
CMYKcmyk(57.6%, 0%, 40.4%, 40.8%)
CIE-LABlab(56.05, -40.20, 24.48)
CIE-LCHlch(56.05, 47.07, 148.66°)
OKLaboklab(60.73% -0.1089 0.0608)
OKLCHoklch(60.73% 0.125 150.8)
XYZxyz(15.0253, 23.9600, 13.5038)
Luminance0.2396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40975A #97407D
analogous
#529740 #40975A #409786
triadic
#40975A #5A4097 #975A40
tetradic
#40975A #405297 #97407D #978640
square
#40975A #405297 #97407D #978640
split-complementary
#40975A #864097 #974052
monochromatic
#1C4127 #2E6C40 #40975A #5BB977 #86CC9B

Accessibility & contrast

On white

3.63
#40975A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#40975A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40975A
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40975A#FFFFFF#000000##000000
##40975A1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988B56
Deuteranopia (green-blind)
#8C835E
Tritanopia (blue-blind)
#299588
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40975a;
/* rgb */ color: rgb(64, 151, 90);
/* oklch */ color: oklch(60.7% 0.125 150.8);
Tailwind
colors: {
  custom: {
    50: '#7db689',
    500: '#40975a',
    950: '#000000',
  },
}
SCSS
$custom: #40975a;
$custom-light: #7db689;
$custom-dark: #000000;
JSON
{
  "hex": "#40975a",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 90
  },
  "hsl": {
    "h": 137.931,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6073,
    "c": 0.12473,
    "h": 150.8
  },
  "luminance": 0.23961
}

Semantic roles & 50–950 ramp

primary
#40975A
secondary
#B67DA5
accent
#57ACD0
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110B
muted
#7C807C

Preview Lab

Preview with #40975A

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

Preview Lab → · Contrast checker → · Palette generator →

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