#40602E#40602E

#40602E is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.1% C 0.085 H 135.3°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#40602E
RGBrgb(64, 96, 46)
HSLhsl(98, 35%, 28%)
HSVhsv(98, 52%, 38%)
CMYKcmyk(33.3%, 0%, 52.1%, 62.4%)
CIE-LABlab(37.21, -21.89, 24.77)
CIE-LCHlch(37.21, 33.06, 131.48°)
OKLaboklab(45.12% -0.0603 0.0596)
OKLCHoklch(45.12% 0.085 135.3)
XYZxyz(6.7902, 9.6527, 4.0896)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40602E #4E2E60
analogous
#59602E #40602E #2E6035
triadic
#40602E #2E4060 #602E40
tetradic
#40602E #2E5960 #4E2E60 #60352E
square
#40602E #2E5960 #4E2E60 #60352E
split-complementary
#40602E #352E60 #602E59
monochromatic
#0E150A #24371A #40602E #5C8942 #78AF59

Accessibility & contrast

On white

7.17
#40602E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#40602E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40602E
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40602E#FFFFFF#000000##FFFFFF
##40602E1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63592A
Deuteranopia (green-blind)
#5F5731
Tritanopia (blue-blind)
#405D54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #40602e;
/* rgb */ color: rgb(64, 96, 46);
/* oklch */ color: oklch(45.1% 0.085 135.3);
Tailwind
colors: {
  custom: {
    50: '#778d68',
    500: '#40602e',
    950: '#000000',
  },
}
SCSS
$custom: #40602e;
$custom-light: #778d68;
$custom-dark: #000000;
JSON
{
  "hex": "#40602e",
  "rgb": {
    "r": 64,
    "g": 96,
    "b": 46
  },
  "hsl": {
    "h": 98.4,
    "s": 35.211,
    "l": 27.843
  },
  "oklch": {
    "l": 0.45119,
    "c": 0.0848,
    "h": 135.3
  },
  "luminance": 0.09653
}

Semantic roles & 50–950 ramp

primary
#40602E
secondary
#7D5892
accent
#5DCBA3
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #40602E

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

Preview Lab → · Contrast checker → · Palette generator →

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