#407719#407719

#407719 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.2% C 0.136 H 135.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#407719
RGBrgb(64, 119, 25)
HSLhsl(95, 65%, 28%)
HSVhsv(95, 79%, 47%)
CMYKcmyk(46.2%, 0%, 79%, 53.3%)
CIE-LABlab(44.74, -34.86, 42.86)
CIE-LCHlch(44.74, 55.24, 129.12°)
OKLaboklab(51.2% -0.0973 0.0957)
OKLCHoklch(51.2% 0.136 135.5)
XYZxyz(8.8864, 14.3533, 3.2217)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407719 #501977
analogous
#6F7719 #407719 #197721
triadic
#407719 #194077 #771940
tetradic
#407719 #196F77 #501977 #772119
square
#407719 #196F77 #501977 #772119
split-complementary
#407719 #211977 #77196F
monochromatic
#0E1905 #25440E #407719 #5BAA24 #78D536

Accessibility & contrast

On white

5.43
#407719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#407719 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407719
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407719#FFFFFF#000000##FFFFFF
##4077191.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D04
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#3E7265
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #407719;
/* rgb */ color: rgb(64, 119, 25);
/* oklch */ color: oklch(51.2% 0.136 135.5);
Tailwind
colors: {
  custom: {
    50: '#7a9f5d',
    500: '#407719',
    950: '#000000',
  },
}
SCSS
$custom: #407719;
$custom-light: #7a9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#407719",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 25
  },
  "hsl": {
    "h": 95.106,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51195,
    "c": 0.13646,
    "h": 135.5
  },
  "luminance": 0.14354
}

Semantic roles & 50–950 ramp

primary
#407719
secondary
#7F40AC
accent
#40E8A2
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #407719

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

Preview Lab → · Contrast checker → · Palette generator →

#407719 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva