#407618#407618

#407618 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 50.9% C 0.136 H 135.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#407618
RGBrgb(64, 118, 24)
HSLhsl(94, 66%, 28%)
HSVhsv(94, 80%, 46%)
CMYKcmyk(45.8%, 0%, 79.7%, 53.7%)
CIE-LABlab(44.39, -34.49, 42.88)
CIE-LCHlch(44.39, 55.03, 128.81°)
OKLaboklab(50.91% -0.0964 0.0956)
OKLCHoklch(50.91% 0.136 135.2)
XYZxyz(8.7575, 14.1123, 3.1265)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407618 #4E1876
analogous
#6F7618 #407618 #18761F
triadic
#407618 #184076 #761840
tetradic
#407618 #186F76 #4E1876 #761F18
square
#407618 #186F76 #4E1876 #761F18
split-complementary
#407618 #1F1876 #76186F
monochromatic
#0E1905 #24430E #407618 #5CA922 #78D533

Accessibility & contrast

On white

5.49
#407618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#407618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407618
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407618#FFFFFF#000000##FFFFFF
##4076181.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#3E7164
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #407618;
/* rgb */ color: rgb(64, 118, 24);
/* oklch */ color: oklch(50.9% 0.136 135.2);
Tailwind
colors: {
  custom: {
    50: '#7a9e5d',
    500: '#407618',
    950: '#000000',
  },
}
SCSS
$custom: #407618;
$custom-light: #7a9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#407618",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 94.468,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50913,
    "c": 0.13572,
    "h": 135.2
  },
  "luminance": 0.14113
}

Semantic roles & 50–950 ramp

primary
#407618
secondary
#7D3FAB
accent
#3FE9A1
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407618

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

Preview Lab → · Contrast checker → · Palette generator →

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