#40622D#40622D

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

Color values

HEX#40622D
RGBrgb(64, 98, 45)
HSLhsl(98, 37%, 28%)
HSVhsv(98, 54%, 38%)
CMYKcmyk(34.7%, 0%, 54.1%, 61.6%)
CIE-LABlab(37.87, -23.05, 26.12)
CIE-LCHlch(37.87, 34.84, 131.43°)
OKLaboklab(45.65% -0.0636 0.0626)
OKLCHoklch(45.65% 0.089 135.5)
XYZxyz(6.9555, 10.0145, 4.0486)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40622D #4F2D62
analogous
#5A622D #40622D #2D6234
triadic
#40622D #2D4062 #622D40
tetradic
#40622D #2D5A62 #4F2D62 #62342D
square
#40622D #2D5A62 #4F2D62 #62342D
split-complementary
#40622D #342D62 #622D5A
monochromatic
#0E150A #25381A #40622D #5B8C40 #78B257

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40622D#FFFFFF#000000##FFFFFF
##40622D1.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)
#655B28
Deuteranopia (green-blind)
#605830
Tritanopia (blue-blind)
#3F5F56
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #40622d;
/* rgb */ color: rgb(64, 98, 45);
/* oklch */ color: oklch(45.6% 0.089 135.5);
Tailwind
colors: {
  custom: {
    50: '#778f67',
    500: '#40622d',
    950: '#000000',
  },
}
SCSS
$custom: #40622d;
$custom-light: #778f67;
$custom-dark: #000000;
JSON
{
  "hex": "#40622d",
  "rgb": {
    "r": 64,
    "g": 98,
    "b": 45
  },
  "hsl": {
    "h": 98.491,
    "s": 37.063,
    "l": 28.039
  },
  "oklch": {
    "l": 0.45647,
    "c": 0.08918,
    "h": 135.5
  },
  "luminance": 0.10015
}

Semantic roles & 50–950 ramp

primary
#40622D
secondary
#7E5794
accent
#5BCDA4
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #40622D

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

Preview Lab → · Contrast checker → · Palette generator →

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