#407E23#407E23

#407E23 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.2% C 0.139 H 137.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#407E23
RGBrgb(64, 126, 35)
HSLhsl(101, 57%, 32%)
HSVhsv(101, 72%, 49%)
CMYKcmyk(49.2%, 0%, 72.2%, 50.6%)
CIE-LABlab(47.15, -37.11, 41.39)
CIE-LCHlch(47.15, 55.59, 131.88°)
OKLaboklab(53.2% -0.1027 0.0941)
OKLCHoklch(53.2% 0.139 137.5)
XYZxyz(9.8783, 16.1324, 4.1831)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407E23 #61237E
analogous
#6E7E23 #407E23 #237E34
triadic
#407E23 #23407E #7E2340
tetradic
#407E23 #236E7E #61237E #7E3423
square
#407E23 #236E7E #61237E #7E3423
split-complementary
#407E23 #34237E #7E236E
monochromatic
#0F1E08 #284E16 #407E23 #58AE30 #76CE4E

Accessibility & contrast

On white

4.97
#407E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#407E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407E23
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407E23#FFFFFF#000000##FFFFFF
##407E231.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827315
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#3C796C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #407e23;
/* rgb */ color: rgb(64, 126, 35);
/* oklch */ color: oklch(53.2% 0.139 137.5);
Tailwind
colors: {
  custom: {
    50: '#7ba464',
    500: '#407e23',
    950: '#000000',
  },
}
SCSS
$custom: #407e23;
$custom-light: #7ba464;
$custom-dark: #000000;
JSON
{
  "hex": "#407e23",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 100.879,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53198,
    "c": 0.13928,
    "h": 137.5
  },
  "luminance": 0.16133
}

Semantic roles & 50–950 ramp

primary
#407E23
secondary
#914CB0
accent
#48E0AF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #407E23

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

Preview Lab → · Contrast checker → · Palette generator →

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