#40680F#40680F

#40680F is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 47.0% C 0.122 H 131.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#40680F
RGBrgb(64, 104, 15)
HSLhsl(87, 75%, 23%)
HSVhsv(87, 86%, 41%)
CMYKcmyk(38.5%, 0%, 85.6%, 59.2%)
CIE-LABlab(39.62, -28.67, 41.40)
CIE-LCHlch(39.62, 50.36, 124.71°)
OKLaboklab(46.99% -0.0813 0.091)
OKLCHoklch(46.99% 0.122 131.8)
XYZxyz(7.1508, 11.0248, 2.2031)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40680F #370F68
analogous
#68630F #40680F #14680F
triadic
#40680F #0F4068 #680F40
tetradic
#40680F #0F6863 #370F68 #680F14
square
#40680F #0F6863 #370F68 #680F14
split-complementary
#40680F #0F1468 #630F68
monochromatic
#101B04 #1F3307 #40680F #619D17 #82D31E

Accessibility & contrast

On white

6.55
#40680F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#40680F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40680F
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40680F#FFFFFF#000000##FFFFFF
##40680F1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#675C19
Tritanopia (blue-blind)
#416358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #40680f;
/* rgb */ color: rgb(64, 104, 15);
/* oklch */ color: oklch(47.0% 0.122 131.8);
Tailwind
colors: {
  custom: {
    50: '#799357',
    500: '#40680f',
    950: '#000000',
  },
}
SCSS
$custom: #40680f;
$custom-light: #799357;
$custom-dark: #000000;
JSON
{
  "hex": "#40680f",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 15
  },
  "hsl": {
    "h": 86.966,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4699,
    "c": 0.12204,
    "h": 131.8
  },
  "luminance": 0.11025
}

Semantic roles & 50–950 ramp

primary
#40680F
secondary
#6432A1
accent
#36F18A
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D03
muted
#7B7E78

Preview Lab

Preview with #40680F

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

Preview Lab → · Contrast checker → · Palette generator →

#40680F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva