#407A34#407A34

#407A34 is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.3% C 0.119 H 140.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#407A34
RGBrgb(64, 122, 52)
HSLhsl(110, 40%, 34%)
HSVhsv(110, 57%, 48%)
CMYKcmyk(47.5%, 0%, 57.4%, 52.2%)
CIE-LABlab(45.98, -33.56, 32.13)
CIE-LCHlch(45.98, 46.46, 136.25°)
OKLaboklab(52.3% -0.0919 0.0763)
OKLCHoklch(52.3% 0.119 140.3)
XYZxyz(9.6933, 15.2563, 5.6821)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407A34 #6E347A
analogous
#637A34 #407A34 #347A4B
triadic
#407A34 #34407A #7A3440
tetradic
#407A34 #34637A #6E347A #7A4B34
square
#407A34 #34637A #6E347A #7A4B34
split-complementary
#407A34 #4B347A #7A3463
monochromatic
#13240F #294F22 #407A34 #57A546 #78BF69

Accessibility & contrast

On white

5.18
#407A34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#407A34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407A34
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407A34#FFFFFF#000000##FFFFFF
##407A341.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D702D
Deuteranopia (green-blind)
#756B39
Tritanopia (blue-blind)
#3B766A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #407a34;
/* rgb */ color: rgb(64, 122, 52);
/* oklch */ color: oklch(52.3% 0.119 140.3);
Tailwind
colors: {
  custom: {
    50: '#79a16e',
    500: '#407a34',
    950: '#000000',
  },
}
SCSS
$custom: #407a34;
$custom-light: #79a16e;
$custom-dark: #000000;
JSON
{
  "hex": "#407a34",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 52
  },
  "hsl": {
    "h": 109.714,
    "s": 40.23,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52297,
    "c": 0.11942,
    "h": 140.3
  },
  "luminance": 0.15257
}

Semantic roles & 50–950 ramp

primary
#407A34
secondary
#9B63A7
accent
#58D0BB
background
#F7F9F6
surface
#EEF2EC
border
#C9CCC7
text
#090F07
muted
#7B7E7A

Preview Lab

Preview with #407A34

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

Preview Lab → · Contrast checker → · Palette generator →

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