#40681B#40681B

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

Color values

HEX#40681B
RGBrgb(64, 104, 27)
HSLhsl(91, 59%, 26%)
HSVhsv(91, 74%, 41%)
CMYKcmyk(38.5%, 0%, 74%, 59.2%)
CIE-LABlab(39.70, -27.90, 37.06)
CIE-LCHlch(39.70, 46.39, 126.98°)
OKLaboklab(47.08% -0.0783 0.0839)
OKLCHoklch(47.08% 0.115 133.1)
XYZxyz(7.2624, 11.0694, 2.7907)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40681B #431B68
analogous
#66681B #40681B #1B681C
triadic
#40681B #1B4068 #681B40
tetradic
#40681B #1B6668 #431B68 #681C1B
square
#40681B #1B6668 #431B68 #681C1B
split-complementary
#40681B #1C1B68 #681B66
monochromatic
#0F1806 #22370E #40681B #5E9928 #7CC934

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40681B#FFFFFF#000000##FFFFFF
##40681B1.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)
#6C600F
Deuteranopia (green-blind)
#675C22
Tritanopia (blue-blind)
#406459
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #40681b;
/* rgb */ color: rgb(64, 104, 27);
/* oklch */ color: oklch(47.1% 0.115 133.1);
Tailwind
colors: {
  custom: {
    50: '#78935c',
    500: '#40681b',
    950: '#000000',
  },
}
SCSS
$custom: #40681b;
$custom-light: #78935c;
$custom-dark: #000000;
JSON
{
  "hex": "#40681b",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 27
  },
  "hsl": {
    "h": 91.169,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47075,
    "c": 0.11477,
    "h": 133.1
  },
  "luminance": 0.1107
}

Semantic roles & 50–950 ramp

primary
#40681B
secondary
#71429D
accent
#46E297
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #40681B

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

Preview Lab → · Contrast checker → · Palette generator →

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