#407419#407419

#407419 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.4% C 0.133 H 135.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#407419
RGBrgb(64, 116, 25)
HSLhsl(94, 65%, 28%)
HSVhsv(94, 78%, 45%)
CMYKcmyk(44.8%, 0%, 78.4%, 54.5%)
CIE-LABlab(43.73, -33.54, 41.88)
CIE-LCHlch(43.73, 53.66, 128.69°)
OKLaboklab(50.37% -0.0938 0.0936)
OKLCHoklch(50.37% 0.133 135)
XYZxyz(8.5350, 13.6505, 3.1046)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407419 #4D1974
analogous
#6D7419 #407419 #197420
triadic
#407419 #194074 #741940
tetradic
#407419 #196D74 #4D1974 #742019
square
#407419 #196D74 #4D1974 #742019
split-complementary
#407419 #201974 #74196D
monochromatic
#0E1905 #24420E #407419 #5CA624 #78D334

Accessibility & contrast

On white

5.63
#407419 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#407419 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407419
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407419#FFFFFF#000000##FFFFFF
##4074191.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A05
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#3F6F63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #407419;
/* rgb */ color: rgb(64, 116, 25);
/* oklch */ color: oklch(50.4% 0.133 135.0);
Tailwind
colors: {
  custom: {
    50: '#7a9c5d',
    500: '#407419',
    950: '#000000',
  },
}
SCSS
$custom: #407419;
$custom-light: #7a9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#407419",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 25
  },
  "hsl": {
    "h": 94.286,
    "s": 64.539,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50368,
    "c": 0.1325,
    "h": 135
  },
  "luminance": 0.13651
}

Semantic roles & 50–950 ramp

primary
#407419
secondary
#7C40A9
accent
#40E8A0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407419

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

Preview Lab → · Contrast checker → · Palette generator →

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