#408043#408043

#408043 is a mid, moderate green. Relative luminance 0.169; OKLCH L 54.2% C 0.114 H 144.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#408043
RGBrgb(64, 128, 67)
HSLhsl(123, 33%, 38%)
HSVhsv(123, 50%, 50%)
CMYKcmyk(50%, 0%, 47.7%, 49.8%)
CIE-LABlab(48.18, -34.10, 26.86)
CIE-LCHlch(48.18, 43.41, 141.77°)
OKLaboklab(54.16% -0.0927 0.0655)
OKLCHoklch(54.16% 0.114 144.7)
XYZxyz(10.8461, 16.9328, 8.0059)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408043 #80407D
analogous
#5D8040 #408043 #408063
triadic
#408043 #434080 #804340
tetradic
#408043 #405D80 #80407D #806340
square
#408043 #405D80 #80407D #806340
split-complementary
#408043 #634080 #80405D
monochromatic
#172E18 #2C572E #408043 #54A958 #7DBE80

Accessibility & contrast

On white

4.79
#408043 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#408043 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408043
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408043#FFFFFF#000000##FFFFFF
##4080431.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763E
Deuteranopia (green-blind)
#797047
Tritanopia (blue-blind)
#377D71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #408043;
/* rgb */ color: rgb(64, 128, 67);
/* oklch */ color: oklch(54.2% 0.114 144.7);
Tailwind
colors: {
  custom: {
    50: '#7aa578',
    500: '#408043',
    950: '#000000',
  },
}
SCSS
$custom: #408043;
$custom-light: #7aa578;
$custom-dark: #000000;
JSON
{
  "hex": "#408043",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 67
  },
  "hsl": {
    "h": 122.813,
    "s": 33.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.54158,
    "c": 0.1135,
    "h": 144.7
  },
  "luminance": 0.16934
}

Semantic roles & 50–950 ramp

primary
#408043
secondary
#A874A6
accent
#5EC4C9
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #408043

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

Preview Lab → · Contrast checker → · Palette generator →

#408043 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva