#40622E#40622E

#40622E is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.7% C 0.088 H 135.8°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#40622E
RGBrgb(64, 98, 46)
HSLhsl(99, 36%, 28%)
HSVhsv(99, 53%, 38%)
CMYKcmyk(34.7%, 0%, 53.1%, 61.6%)
CIE-LABlab(37.88, -22.92, 25.59)
CIE-LCHlch(37.88, 34.35, 131.85°)
OKLaboklab(45.66% -0.0631 0.0615)
OKLCHoklch(45.66% 0.088 135.8)
XYZxyz(6.9750, 10.0223, 4.1512)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40622E #502E62
analogous
#5A622E #40622E #2E6236
triadic
#40622E #2E4062 #622E40
tetradic
#40622E #2E5A62 #502E62 #62362E
square
#40622E #2E5A62 #502E62 #62362E
split-complementary
#40622E #362E62 #622E5A
monochromatic
#0E150A #25381A #40622E #5B8C42 #78B159

Accessibility & contrast

On white

6.99
#40622E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#40622E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40622E
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40622E#FFFFFF#000000##FFFFFF
##40622E1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B2A
Deuteranopia (green-blind)
#605831
Tritanopia (blue-blind)
#3F5F56
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #40622e;
/* rgb */ color: rgb(64, 98, 46);
/* oklch */ color: oklch(45.7% 0.088 135.8);
Tailwind
colors: {
  custom: {
    50: '#778f68',
    500: '#40622e',
    950: '#000000',
  },
}
SCSS
$custom: #40622e;
$custom-light: #778f68;
$custom-dark: #000000;
JSON
{
  "hex": "#40622e",
  "rgb": {
    "r": 64,
    "g": 98,
    "b": 46
  },
  "hsl": {
    "h": 99.231,
    "s": 36.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.45663,
    "c": 0.08809,
    "h": 135.8
  },
  "luminance": 0.10023
}

Semantic roles & 50–950 ramp

primary
#40622E
secondary
#7F5894
accent
#5CCCA5
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #40622E

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

Preview Lab → · Contrast checker → · Palette generator →

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