#40702E#40702E

#40702E is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.5% C 0.110 H 138.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#40702E
RGBrgb(64, 112, 46)
HSLhsl(104, 42%, 31%)
HSVhsv(104, 59%, 44%)
CMYKcmyk(42.9%, 0%, 58.9%, 56.1%)
CIE-LABlab(42.57, -29.75, 31.20)
CIE-LCHlch(42.57, 43.11, 133.64°)
OKLaboklab(49.49% -0.0819 0.0738)
OKLCHoklch(49.49% 0.11 138)
XYZxyz(8.4014, 12.8751, 4.6267)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40702E #5E2E70
analogous
#61702E #40702E #2E703D
triadic
#40702E #2E4070 #702E40
tetradic
#40702E #2E6170 #5E2E70 #703D2E
square
#40702E #2E6170 #5E2E70 #703D2E
split-complementary
#40702E #3D2E70 #702E61
monochromatic
#0E190A #27451C #40702E #599B40 #76BC5C

Accessibility & contrast

On white

5.87
#40702E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#40702E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40702E
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40702E#FFFFFF#000000##FFFFFF
##40702E1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736727
Deuteranopia (green-blind)
#6D6333
Tritanopia (blue-blind)
#3D6C61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #40702e;
/* rgb */ color: rgb(64, 112, 46);
/* oklch */ color: oklch(49.5% 0.110 138.0);
Tailwind
colors: {
  custom: {
    50: '#789969',
    500: '#40702e',
    950: '#000000',
  },
}
SCSS
$custom: #40702e;
$custom-light: #789969;
$custom-dark: #000000;
JSON
{
  "hex": "#40702e",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 46
  },
  "hsl": {
    "h": 103.636,
    "s": 41.772,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49485,
    "c": 0.11017,
    "h": 138
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#40702E
secondary
#8D58A1
accent
#56D2B0
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #40702E

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

Preview Lab → · Contrast checker → · Palette generator →

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