#40612E#40612E

#40612E is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.4% C 0.086 H 135.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#40612E
RGBrgb(64, 97, 46)
HSLhsl(99, 36%, 28%)
HSVhsv(99, 53%, 38%)
CMYKcmyk(34%, 0%, 52.6%, 62%)
CIE-LABlab(37.55, -22.41, 25.18)
CIE-LCHlch(37.55, 33.70, 131.67°)
OKLaboklab(45.39% -0.0617 0.0605)
OKLCHoklch(45.39% 0.086 135.6)
XYZxyz(6.8820, 9.8364, 4.1202)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40612E #4F2E61
analogous
#59612E #40612E #2E6136
triadic
#40612E #2E4061 #612E40
tetradic
#40612E #2E5961 #4F2E61 #61362E
square
#40612E #2E5961 #4F2E61 #61362E
split-complementary
#40612E #362E61 #612E59
monochromatic
#0E150A #25371A #40612E #5B8B42 #78B059

Accessibility & contrast

On white

7.08
#40612E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#40612E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40612E
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40612E#FFFFFF#000000##FFFFFF
##40612E1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A2A
Deuteranopia (green-blind)
#5F5731
Tritanopia (blue-blind)
#3F5E55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #40612e;
/* rgb */ color: rgb(64, 97, 46);
/* oklch */ color: oklch(45.4% 0.086 135.6);
Tailwind
colors: {
  custom: {
    50: '#778e68',
    500: '#40612e',
    950: '#000000',
  },
}
SCSS
$custom: #40612e;
$custom-light: #778e68;
$custom-dark: #000000;
JSON
{
  "hex": "#40612e",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 46
  },
  "hsl": {
    "h": 98.824,
    "s": 35.664,
    "l": 28.039
  },
  "oklch": {
    "l": 0.45391,
    "c": 0.08645,
    "h": 135.6
  },
  "luminance": 0.09837
}

Semantic roles & 50–950 ramp

primary
#40612E
secondary
#7E5893
accent
#5CCCA4
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #40612E

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

Preview Lab → · Contrast checker → · Palette generator →

#40612E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva