#40681C#40681C

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

Color values

HEX#40681C
RGBrgb(64, 104, 28)
HSLhsl(92, 58%, 26%)
HSVhsv(92, 73%, 41%)
CMYKcmyk(38.5%, 0%, 73.1%, 59.2%)
CIE-LABlab(39.70, -27.82, 36.64)
CIE-LCHlch(39.70, 46.01, 127.21°)
OKLaboklab(47.08% -0.078 0.0831)
OKLCHoklch(47.08% 0.114 133.2)
XYZxyz(7.2742, 11.0741, 2.8526)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40681C #441C68
analogous
#66681C #40681C #1C681E
triadic
#40681C #1C4068 #681C40
tetradic
#40681C #1C6668 #441C68 #681E1C
square
#40681C #1C6668 #441C68 #681E1C
split-complementary
#40681C #1E1C68 #681C66
monochromatic
#0F1806 #22380F #40681C #5E9829 #7BC836

Accessibility & contrast

On white

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

On black

3.21
#40681C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##40681C#FFFFFF#000000##FFFFFF
##40681C1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40681c;
/* rgb */ color: rgb(64, 104, 28);
/* oklch */ color: oklch(47.1% 0.114 133.2);
Tailwind
colors: {
  custom: {
    50: '#78935d',
    500: '#40681c',
    950: '#000000',
  },
}
SCSS
$custom: #40681c;
$custom-light: #78935d;
$custom-dark: #000000;
JSON
{
  "hex": "#40681c",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 28
  },
  "hsl": {
    "h": 91.579,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47084,
    "c": 0.11402,
    "h": 133.2
  },
  "luminance": 0.11074
}

Semantic roles & 50–950 ramp

primary
#40681C
secondary
#72439D
accent
#47E198
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #40681C

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

Preview Lab → · Contrast checker → · Palette generator →

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