#407B25#407B25

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

Color values

HEX#407B25
RGBrgb(64, 123, 37)
HSLhsl(101, 54%, 31%)
HSVhsv(101, 70%, 48%)
CMYKcmyk(48%, 0%, 69.9%, 51.8%)
CIE-LABlab(46.16, -35.65, 39.50)
CIE-LCHlch(46.16, 53.21, 132.06°)
OKLaboklab(52.39% -0.0986 0.0904)
OKLCHoklch(52.39% 0.134 137.5)
XYZxyz(9.5309, 15.3889, 4.2180)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407B25 #60257B
analogous
#6B7B25 #407B25 #257B35
triadic
#407B25 #25407B #7B2540
tetradic
#407B25 #256B7B #60257B #7B3525
square
#407B25 #256B7B #60257B #7B3525
split-complementary
#407B25 #35257B #7B256B
monochromatic
#0F1D09 #284C17 #407B25 #58AA33 #76CA50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407B25#FFFFFF#000000##FFFFFF
##407B251.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)
#7F7019
Deuteranopia (green-blind)
#776B2D
Tritanopia (blue-blind)
#3C776A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #407b25;
/* rgb */ color: rgb(64, 123, 37);
/* oklch */ color: oklch(52.4% 0.134 137.5);
Tailwind
colors: {
  custom: {
    50: '#7aa264',
    500: '#407b25',
    950: '#000000',
  },
}
SCSS
$custom: #407b25;
$custom-light: #7aa264;
$custom-dark: #000000;
JSON
{
  "hex": "#407b25",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 37
  },
  "hsl": {
    "h": 101.163,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52394,
    "c": 0.13377,
    "h": 137.5
  },
  "luminance": 0.15389
}

Semantic roles & 50–950 ramp

primary
#407B25
secondary
#904FAD
accent
#4BDDAF
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #407B25

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

Preview Lab → · Contrast checker → · Palette generator →

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