#40681E#40681E

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

Color values

HEX#40681E
RGBrgb(64, 104, 30)
HSLhsl(92, 55%, 26%)
HSVhsv(92, 71%, 41%)
CMYKcmyk(38.5%, 0%, 71.2%, 59.2%)
CIE-LABlab(39.72, -27.65, 35.78)
CIE-LCHlch(39.72, 45.22, 127.70°)
OKLaboklab(47.1% -0.0774 0.0816)
OKLCHoklch(47.1% 0.112 133.5)
XYZxyz(7.2989, 11.0840, 2.9829)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40681E #461E68
analogous
#65681E #40681E #1E6821
triadic
#40681E #1E4068 #681E40
tetradic
#40681E #1E6568 #461E68 #68211E
square
#40681E #1E6568 #461E68 #68211E
split-complementary
#40681E #211E68 #681E65
monochromatic
#0F1807 #233910 #40681E #5D982C #7BC63A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40681E#FFFFFF#000000##FFFFFF
##40681E1.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)
#6C6014
Deuteranopia (green-blind)
#675C24
Tritanopia (blue-blind)
#406459
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #40681e;
/* rgb */ color: rgb(64, 104, 30);
/* oklch */ color: oklch(47.1% 0.112 133.5);
Tailwind
colors: {
  custom: {
    50: '#78935e',
    500: '#40681e',
    950: '#000000',
  },
}
SCSS
$custom: #40681e;
$custom-light: #78935e;
$custom-dark: #000000;
JSON
{
  "hex": "#40681e",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 30
  },
  "hsl": {
    "h": 92.432,
    "s": 55.224,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47103,
    "c": 0.11249,
    "h": 133.5
  },
  "luminance": 0.11084
}

Semantic roles & 50–950 ramp

primary
#40681E
secondary
#74459D
accent
#49DF9A
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D05
muted
#7B7E79

Preview Lab

Preview with #40681E

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

Preview Lab → · Contrast checker → · Palette generator →

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