#40684B#40684B

#40684B is a mid, moderate green. Relative luminance 0.115; OKLCH L 47.9% C 0.065 H 152.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#40684B
RGBrgb(64, 104, 75)
HSLhsl(137, 24%, 33%)
HSVhsv(137, 38%, 41%)
CMYKcmyk(38.5%, 0%, 27.9%, 59.2%)
CIE-LABlab(40.41, -21.00, 11.99)
CIE-LCHlch(40.41, 24.19, 150.27°)
OKLaboklab(47.88% -0.0576 0.0305)
OKLCHoklch(47.88% 0.065 152.1)
XYZxyz(8.3342, 11.4982, 8.4355)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40684B #68405D
analogous
#496840 #40684B #40685F
triadic
#40684B #4B4068 #684B40
tetradic
#40684B #404968 #68405D #685F40
square
#40684B #404968 #68405D #685F40
split-complementary
#40684B #5F4068 #684049
monochromatic
#111C14 #294230 #40684B #578E66 #77AB85

Accessibility & contrast

On white

6.36
#40684B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#40684B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40684B
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40684B#FFFFFF#000000##FFFFFF
##40684B1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686249
Deuteranopia (green-blind)
#625E4D
Tritanopia (blue-blind)
#396760
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #40684b;
/* rgb */ color: rgb(64, 104, 75);
/* oklch */ color: oklch(47.9% 0.065 152.1);
Tailwind
colors: {
  custom: {
    50: '#76937d',
    500: '#40684b',
    950: '#000000',
  },
}
SCSS
$custom: #40684b;
$custom-light: #76937d;
$custom-dark: #000000;
JSON
{
  "hex": "#40684b",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 75
  },
  "hsl": {
    "h": 136.5,
    "s": 23.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.47883,
    "c": 0.06517,
    "h": 152.1
  },
  "luminance": 0.11499
}

Semantic roles & 50–950 ramp

primary
#40684B
secondary
#976D8B
accent
#68A8C0
background
#F7F9F7
surface
#EDF1EE
border
#C8CBC9
text
#090D09
muted
#7B7E7B

Preview Lab

Preview with #40684B

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

Preview Lab → · Contrast checker → · Palette generator →

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