#407519#407519

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

Color values

HEX#407519
RGBrgb(64, 117, 25)
HSLhsl(95, 65%, 28%)
HSVhsv(95, 79%, 46%)
CMYKcmyk(45.3%, 0%, 78.6%, 54.1%)
CIE-LABlab(44.06, -33.98, 42.21)
CIE-LCHlch(44.06, 54.19, 128.84°)
OKLaboklab(50.64% -0.095 0.0943)
OKLCHoklch(50.64% 0.134 135.2)
XYZxyz(8.6509, 13.8823, 3.1432)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407519 #4E1975
analogous
#6E7519 #407519 #197520
triadic
#407519 #194075 #751940
tetradic
#407519 #196E75 #4E1975 #752019
square
#407519 #196E75 #4E1975 #752019
split-complementary
#407519 #201975 #75196E
monochromatic
#0E1905 #24430E #407519 #5CA724 #78D435

Accessibility & contrast

On white

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

On black

3.78
#407519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##407519#FFFFFF#000000##FFFFFF
##4075191.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B05
Deuteranopia (green-blind)
#726723
Tritanopia (blue-blind)
#3F7064
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #407519;
/* rgb */ color: rgb(64, 117, 25);
/* oklch */ color: oklch(50.6% 0.134 135.2);
Tailwind
colors: {
  custom: {
    50: '#7a9d5d',
    500: '#407519',
    950: '#000000',
  },
}
SCSS
$custom: #407519;
$custom-light: #7a9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#407519",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 94.565,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50644,
    "c": 0.13383,
    "h": 135.2
  },
  "luminance": 0.13883
}

Semantic roles & 50–950 ramp

primary
#407519
secondary
#7D40AA
accent
#40E8A1
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #407519

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

Preview Lab → · Contrast checker → · Palette generator →

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