#40783E#40783E

#40783E is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.9% C 0.106 H 143.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#40783E
RGBrgb(64, 120, 62)
HSLhsl(118, 32%, 36%)
HSVhsv(118, 48%, 47%)
CMYKcmyk(46.7%, 0%, 48.3%, 52.9%)
CIE-LABlab(45.46, -31.24, 26.16)
CIE-LCHlch(45.46, 40.75, 140.05°)
OKLaboklab(51.91% -0.0851 0.0637)
OKLCHoklch(51.91% 0.106 143.2)
XYZxyz(9.6999, 14.8701, 6.9156)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40783E #763E78
analogous
#5D783E #40783E #3E7859
triadic
#40783E #3E4078 #783E40
tetradic
#40783E #3E5D78 #763E78 #78593E
square
#40783E #3E5D78 #763E78 #78593E
split-complementary
#40783E #593E78 #783E5D
monochromatic
#152714 #2A5029 #40783E #56A053 #7AB977

Accessibility & contrast

On white

5.28
#40783E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#40783E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40783E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40783E#FFFFFF#000000##FFFFFF
##40783E1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F39
Deuteranopia (green-blind)
#726A42
Tritanopia (blue-blind)
#39756A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #40783e;
/* rgb */ color: rgb(64, 120, 62);
/* oklch */ color: oklch(51.9% 0.106 143.2);
Tailwind
colors: {
  custom: {
    50: '#799f74',
    500: '#40783e',
    950: '#000000',
  },
}
SCSS
$custom: #40783e;
$custom-light: #799f74;
$custom-dark: #000000;
JSON
{
  "hex": "#40783e",
  "rgb": {
    "r": 64,
    "g": 120,
    "b": 62
  },
  "hsl": {
    "h": 117.931,
    "s": 31.868,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5191,
    "c": 0.10629,
    "h": 143.2
  },
  "luminance": 0.14871
}

Semantic roles & 50–950 ramp

primary
#40783E
secondary
#A16FA3
accent
#60C8C4
background
#F7F9F7
surface
#EEF2ED
border
#C9CCC8
text
#090E08
muted
#7B7E7B

Preview Lab

Preview with #40783E

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

Preview Lab → · Contrast checker → · Palette generator →

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