#407418#407418

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

Color values

HEX#407418
RGBrgb(64, 116, 24)
HSLhsl(94, 66%, 27%)
HSVhsv(94, 79%, 45%)
CMYKcmyk(44.8%, 0%, 79.3%, 54.5%)
CIE-LABlab(43.72, -33.61, 42.24)
CIE-LCHlch(43.72, 53.98, 128.51°)
OKLaboklab(50.36% -0.094 0.0942)
OKLCHoklch(50.36% 0.133 134.9)
XYZxyz(8.5244, 13.6462, 3.0488)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407418 #4C1874
analogous
#6E7418 #407418 #18741E
triadic
#407418 #184074 #741840
tetradic
#407418 #186E74 #4C1874 #741E18
square
#407418 #186E74 #4C1874 #741E18
split-complementary
#407418 #1E1874 #74186E
monochromatic
#0E1905 #24410E #407418 #5CA722 #79D532

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407418#FFFFFF#000000##FFFFFF
##4074181.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)
#796A03
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#3F6F63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #407418;
/* rgb */ color: rgb(64, 116, 24);
/* oklch */ color: oklch(50.4% 0.133 134.9);
Tailwind
colors: {
  custom: {
    50: '#7a9c5d',
    500: '#407418',
    950: '#000000',
  },
}
SCSS
$custom: #407418;
$custom-light: #7a9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#407418",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 93.913,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50361,
    "c": 0.1331,
    "h": 134.9
  },
  "luminance": 0.13647
}

Semantic roles & 50–950 ramp

primary
#407418
secondary
#7B3FA9
accent
#3FE99F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407418

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

Preview Lab → · Contrast checker → · Palette generator →

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