#407B23#407B23

#407B23 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.4% C 0.135 H 137.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#407B23
RGBrgb(64, 123, 35)
HSLhsl(100, 56%, 31%)
HSVhsv(100, 72%, 48%)
CMYKcmyk(48%, 0%, 71.5%, 51.8%)
CIE-LABlab(46.15, -35.83, 40.35)
CIE-LCHlch(46.15, 53.96, 131.60°)
OKLaboklab(52.38% -0.0992 0.0919)
OKLCHoklch(52.38% 0.135 137.2)
XYZxyz(9.5004, 15.3766, 4.0572)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407B23 #5E237B
analogous
#6C7B23 #407B23 #237B32
triadic
#407B23 #23407B #7B2340
tetradic
#407B23 #236C7B #5E237B #7B3223
square
#407B23 #236C7B #5E237B #7B3223
split-complementary
#407B23 #32237B #7B236C
monochromatic
#0E1C08 #274B15 #407B23 #59AB31 #76CC4C

Accessibility & contrast

On white

5.15
#407B23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#407B23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407B23
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407B23#FFFFFF#000000##FFFFFF
##407B231.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7016
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#3D7769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #407b23;
/* rgb */ color: rgb(64, 123, 35);
/* oklch */ color: oklch(52.4% 0.135 137.2);
Tailwind
colors: {
  custom: {
    50: '#7aa263',
    500: '#407b23',
    950: '#000000',
  },
}
SCSS
$custom: #407b23;
$custom-light: #7aa263;
$custom-dark: #000000;
JSON
{
  "hex": "#407b23",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 100.227,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52375,
    "c": 0.13524,
    "h": 137.2
  },
  "luminance": 0.15377
}

Semantic roles & 50–950 ramp

primary
#407B23
secondary
#8D4CAE
accent
#49DFAE
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #407B23

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

Preview Lab → · Contrast checker → · Palette generator →

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