#407B2B#407B2B

#407B2B is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.5% C 0.129 H 138.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#407B2B
RGBrgb(64, 123, 43)
HSLhsl(104, 48%, 33%)
HSVhsv(104, 65%, 48%)
CMYKcmyk(48%, 0%, 65%, 51.8%)
CIE-LABlab(46.22, -35.06, 36.84)
CIE-LCHlch(46.22, 50.85, 133.58°)
OKLaboklab(52.46% -0.0965 0.0855)
OKLCHoklch(52.46% 0.129 138.5)
XYZxyz(9.6330, 15.4297, 4.7557)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407B2B #662B7B
analogous
#687B2B #407B2B #2B7B3E
triadic
#407B2B #2B407B #7B2B40
tetradic
#407B2B #2B687B #662B7B #7B3E2B
square
#407B2B #2B687B #662B7B #7B3E2B
split-complementary
#407B2B #3E2B7B #7B2B68
monochromatic
#11200B #284E1B #407B2B #58A83B #77C65B

Accessibility & contrast

On white

5.14
#407B2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#407B2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407B2B
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407B2B#FFFFFF#000000##FFFFFF
##407B2B1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7122
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#3C776A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #407b2b;
/* rgb */ color: rgb(64, 123, 43);
/* oklch */ color: oklch(52.5% 0.129 138.5);
Tailwind
colors: {
  custom: {
    50: '#7aa268',
    500: '#407b2b',
    950: '#000000',
  },
}
SCSS
$custom: #407b2b;
$custom-light: #7aa268;
$custom-dark: #000000;
JSON
{
  "hex": "#407b2b",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 43
  },
  "hsl": {
    "h": 104.25,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.12898,
    "h": 138.5
  },
  "luminance": 0.1543
}

Semantic roles & 50–950 ramp

primary
#407B2B
secondary
#9556AB
accent
#50D8B4
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #407B2B

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

Preview Lab → · Contrast checker → · Palette generator →

#407B2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva