#407A23#407A23

#407A23 is a mid, vivid green. Relative luminance 0.151; OKLCH L 52.1% C 0.134 H 137.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#407A23
RGBrgb(64, 122, 35)
HSLhsl(100, 55%, 31%)
HSVhsv(100, 71%, 48%)
CMYKcmyk(47.5%, 0%, 71.3%, 52.2%)
CIE-LABlab(45.81, -35.39, 40.00)
CIE-LCHlch(45.81, 53.41, 131.51°)
OKLaboklab(52.1% -0.098 0.0912)
OKLCHoklch(52.1% 0.134 137.1)
XYZxyz(9.3770, 15.1298, 4.0160)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407A23 #5D237A
analogous
#6B7A23 #407A23 #237A31
triadic
#407A23 #23407A #7A2340
tetradic
#407A23 #236B7A #5D237A #7A3123
square
#407A23 #236B7A #5D237A #7A3123
split-complementary
#407A23 #31237A #7A236B
monochromatic
#0E1B08 #274A15 #407A23 #59AA31 #76CC4C

Accessibility & contrast

On white

5.22
#407A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#407A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407A23
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407A23#FFFFFF#000000##FFFFFF
##407A231.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7016
Deuteranopia (green-blind)
#766B2B
Tritanopia (blue-blind)
#3D7669
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #407a23;
/* rgb */ color: rgb(64, 122, 35);
/* oklch */ color: oklch(52.1% 0.134 137.1);
Tailwind
colors: {
  custom: {
    50: '#7aa163',
    500: '#407a23',
    950: '#000000',
  },
}
SCSS
$custom: #407a23;
$custom-light: #7aa163;
$custom-dark: #000000;
JSON
{
  "hex": "#407a23",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 100,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52101,
    "c": 0.13389,
    "h": 137.1
  },
  "luminance": 0.1513
}

Semantic roles & 50–950 ramp

primary
#407A23
secondary
#8C4CAD
accent
#49DFAD
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F05
muted
#7C7E7A

Preview Lab

Preview with #407A23

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

Preview Lab → · Contrast checker → · Palette generator →

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