#40661F#40661F

#40661F is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.6% C 0.109 H 133.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#40661F
RGBrgb(64, 102, 31)
HSLhsl(92, 53%, 26%)
HSVhsv(92, 70%, 40%)
CMYKcmyk(37.3%, 0%, 69.6%, 60%)
CIE-LABlab(39.06, -26.61, 34.62)
CIE-LCHlch(39.06, 43.66, 127.54°)
OKLaboklab(46.56% -0.0745 0.0793)
OKLCHoklch(46.56% 0.109 133.2)
XYZxyz(7.1129, 10.6914, 2.9849)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40661F #451F66
analogous
#63661F #40661F #1F6622
triadic
#40661F #1F4066 #661F40
tetradic
#40661F #1F6366 #451F66 #66221F
square
#40661F #1F6366 #451F66 #66221F
split-complementary
#40661F #221F66 #661F63
monochromatic
#0F1707 #233711 #40661F #5D952D #7BC43C

Accessibility & contrast

On white

6.69
#40661F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#40661F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40661F
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40661F#FFFFFF#000000##FFFFFF
##40661F1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E16
Deuteranopia (green-blind)
#655B25
Tritanopia (blue-blind)
#406257
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #40661f;
/* rgb */ color: rgb(64, 102, 31);
/* oklch */ color: oklch(46.6% 0.109 133.2);
Tailwind
colors: {
  custom: {
    50: '#78925f',
    500: '#40661f',
    950: '#000000',
  },
}
SCSS
$custom: #40661f;
$custom-light: #78925f;
$custom-dark: #000000;
JSON
{
  "hex": "#40661f",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 31
  },
  "hsl": {
    "h": 92.113,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46562,
    "c": 0.10879,
    "h": 133.2
  },
  "luminance": 0.10692
}

Semantic roles & 50–950 ramp

primary
#40661F
secondary
#73469A
accent
#4BDD99
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D05
muted
#7B7E79

Preview Lab

Preview with #40661F

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

Preview Lab → · Contrast checker → · Palette generator →

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