#40681D#40681D

#40681D is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.1% C 0.113 H 133.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#40681D
RGBrgb(64, 104, 29)
HSLhsl(92, 56%, 26%)
HSVhsv(92, 72%, 41%)
CMYKcmyk(38.5%, 0%, 72.1%, 59.2%)
CIE-LABlab(39.71, -27.74, 36.22)
CIE-LCHlch(39.71, 45.62, 127.45°)
OKLaboklab(47.09% -0.0777 0.0824)
OKLCHoklch(47.09% 0.113 133.3)
XYZxyz(7.2863, 11.0790, 2.9167)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40681D #451D68
analogous
#65681D #40681D #1D681F
triadic
#40681D #1D4068 #681D40
tetradic
#40681D #1D6568 #451D68 #681F1D
square
#40681D #1D6568 #451D68 #681F1D
split-complementary
#40681D #1F1D68 #681D65
monochromatic
#0F1807 #233810 #40681D #5D982A #7BC738

Accessibility & contrast

On white

6.53
#40681D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#40681D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40681D
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40681D#FFFFFF#000000##FFFFFF
##40681D1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6012
Deuteranopia (green-blind)
#675C24
Tritanopia (blue-blind)
#406459
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #40681d;
/* rgb */ color: rgb(64, 104, 29);
/* oklch */ color: oklch(47.1% 0.113 133.3);
Tailwind
colors: {
  custom: {
    50: '#78935e',
    500: '#40681d',
    950: '#000000',
  },
}
SCSS
$custom: #40681d;
$custom-light: #78935e;
$custom-dark: #000000;
JSON
{
  "hex": "#40681d",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 29
  },
  "hsl": {
    "h": 92,
    "s": 56.391,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47093,
    "c": 0.11327,
    "h": 133.3
  },
  "luminance": 0.11079
}

Semantic roles & 50–950 ramp

primary
#40681D
secondary
#73449D
accent
#48E099
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #40681D

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

Preview Lab → · Contrast checker → · Palette generator →

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