#407517#407517

#407517 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.6% C 0.135 H 135.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#407517
RGBrgb(64, 117, 23)
HSLhsl(94, 67%, 27%)
HSVhsv(94, 80%, 46%)
CMYKcmyk(45.3%, 0%, 80.3%, 54.1%)
CIE-LABlab(44.05, -34.11, 42.91)
CIE-LCHlch(44.05, 54.81, 128.49°)
OKLaboklab(50.63% -0.0954 0.0954)
OKLCHoklch(50.63% 0.135 135)
XYZxyz(8.6301, 13.8739, 3.0336)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407517 #4C1775
analogous
#6F7517 #407517 #17751D
triadic
#407517 #174075 #751740
tetradic
#407517 #176F75 #4C1775 #751D17
square
#407517 #176F75 #4C1775 #751D17
split-complementary
#407517 #1D1775 #75176F
monochromatic
#0E1A05 #24420D #407517 #5CA821 #79D630

Accessibility & contrast

On white

5.56
#407517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#407517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407517
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407517#FFFFFF#000000##FFFFFF
##4075171.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B01
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#3F7063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #407517;
/* rgb */ color: rgb(64, 117, 23);
/* oklch */ color: oklch(50.6% 0.135 135.0);
Tailwind
colors: {
  custom: {
    50: '#7a9d5c',
    500: '#407517',
    950: '#000000',
  },
}
SCSS
$custom: #407517;
$custom-light: #7a9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#407517",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 93.83,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.5063,
    "c": 0.13499,
    "h": 135
  },
  "luminance": 0.13874
}

Semantic roles & 50–950 ramp

primary
#407517
secondary
#7B3DAA
accent
#3EEA9F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407517

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

Preview Lab → · Contrast checker → · Palette generator →

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