#40611F#40611F

#40611F is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.2% C 0.101 H 131.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#40611F
RGBrgb(64, 97, 31)
HSLhsl(90, 52%, 25%)
HSVhsv(90, 68%, 38%)
CMYKcmyk(34%, 0%, 68%, 62%)
CIE-LABlab(37.37, -24.15, 32.80)
CIE-LCHlch(37.37, 40.73, 126.36°)
OKLaboklab(45.19% -0.0677 0.0755)
OKLCHoklch(45.19% 0.101 131.9)
XYZxyz(6.6363, 9.7381, 2.8260)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40611F #401F61
analogous
#61611F #40611F #1F611F
triadic
#40611F #1F4061 #611F40
tetradic
#40611F #1F6161 #401F61 #611F1F
square
#40611F #1F6161 #401F61 #611F1F
split-complementary
#40611F #1F1F61 #611F61
monochromatic
#0F1707 #213310 #40611F #5F8F2E #7DBE3D

Accessibility & contrast

On white

7.12
#40611F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#40611F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40611F
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40611F#FFFFFF#000000##FFFFFF
##40611F1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A17
Deuteranopia (green-blind)
#615724
Tritanopia (blue-blind)
#415D53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #40611f;
/* rgb */ color: rgb(64, 97, 31);
/* oklch */ color: oklch(45.2% 0.101 131.9);
Tailwind
colors: {
  custom: {
    50: '#778e5e',
    500: '#40611f',
    950: '#000000',
  },
}
SCSS
$custom: #40611f;
$custom-light: #778e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#40611f",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 31
  },
  "hsl": {
    "h": 90,
    "s": 51.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45188,
    "c": 0.10142,
    "h": 131.9
  },
  "luminance": 0.09738
}

Semantic roles & 50–950 ramp

primary
#40611F
secondary
#6E4696
accent
#4DDB94
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #40611F

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

Preview Lab → · Contrast checker → · Palette generator →

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