#40702C#40702C

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

Color values

HEX#40702C
RGBrgb(64, 112, 44)
HSLhsl(102, 44%, 31%)
HSVhsv(102, 61%, 44%)
CMYKcmyk(42.9%, 0%, 60.7%, 56.1%)
CIE-LABlab(42.55, -29.99, 32.19)
CIE-LCHlch(42.55, 44.00, 132.97°)
OKLaboklab(49.46% -0.0826 0.0757)
OKLCHoklch(49.46% 0.112 137.5)
XYZxyz(8.3629, 12.8597, 4.4239)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40702C #5C2C70
analogous
#62702C #40702C #2C703A
triadic
#40702C #2C4070 #702C40
tetradic
#40702C #2C6270 #5C2C70 #703A2C
square
#40702C #2C6270 #5C2C70 #703A2C
split-complementary
#40702C #3A2C70 #702C62
monochromatic
#0E1809 #27441B #40702C #599C3D #76BE59

Accessibility & contrast

On white

5.88
#40702C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#40702C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40702C
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40702C#FFFFFF#000000##FFFFFF
##40702C1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746725
Deuteranopia (green-blind)
#6D6331
Tritanopia (blue-blind)
#3E6C61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #40702c;
/* rgb */ color: rgb(64, 112, 44);
/* oklch */ color: oklch(49.5% 0.112 137.5);
Tailwind
colors: {
  custom: {
    50: '#789968',
    500: '#40702c',
    950: '#000000',
  },
}
SCSS
$custom: #40702c;
$custom-light: #789968;
$custom-dark: #000000;
JSON
{
  "hex": "#40702c",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 102.353,
    "s": 43.59,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49459,
    "c": 0.11208,
    "h": 137.5
  },
  "luminance": 0.1286
}

Semantic roles & 50–950 ramp

primary
#40702C
secondary
#8B56A2
accent
#54D3AE
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #40702C

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

Preview Lab → · Contrast checker → · Palette generator →

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