#40681A#40681A

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

Color values

HEX#40681A
RGBrgb(64, 104, 26)
HSLhsl(91, 60%, 25%)
HSVhsv(91, 75%, 41%)
CMYKcmyk(38.5%, 0%, 75%, 59.2%)
CIE-LABlab(39.69, -27.98, 37.47)
CIE-LCHlch(39.69, 46.77, 126.75°)
OKLaboklab(47.07% -0.0786 0.0846)
OKLCHoklch(47.07% 0.115 132.9)
XYZxyz(7.2510, 11.0649, 2.7308)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40681A #421A68
analogous
#67681A #40681A #1A681B
triadic
#40681A #1A4068 #681A40
tetradic
#40681A #1A6768 #421A68 #681B1A
square
#40681A #1A6768 #421A68 #681B1A
split-complementary
#40681A #1B1A68 #681A67
monochromatic
#0F1806 #22370E #40681A #5E9926 #7CCA32

Accessibility & contrast

On white

6.54
#40681A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #40681A
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40681A#FFFFFF#000000##FFFFFF
##40681A1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C600D
Deuteranopia (green-blind)
#675C21
Tritanopia (blue-blind)
#406459
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #40681a;
/* rgb */ color: rgb(64, 104, 26);
/* oklch */ color: oklch(47.1% 0.115 132.9);
Tailwind
colors: {
  custom: {
    50: '#79935c',
    500: '#40681a',
    950: '#000000',
  },
}
SCSS
$custom: #40681a;
$custom-light: #79935c;
$custom-dark: #000000;
JSON
{
  "hex": "#40681a",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 26
  },
  "hsl": {
    "h": 90.769,
    "s": 60,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47066,
    "c": 0.11548,
    "h": 132.9
  },
  "luminance": 0.11065
}

Semantic roles & 50–950 ramp

primary
#40681A
secondary
#70409D
accent
#45E396
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #40681A

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

Preview Lab → · Contrast checker → · Palette generator →

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