#408618#408618

#408618 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.3% C 0.156 H 137.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#408618
RGBrgb(64, 134, 24)
HSLhsl(98, 70%, 31%)
HSVhsv(98, 82%, 53%)
CMYKcmyk(52.2%, 0%, 82.1%, 47.5%)
CIE-LABlab(49.74, -41.17, 47.94)
CIE-LCHlch(49.74, 63.20, 130.66°)
OKLaboklab(55.31% -0.1144 0.1062)
OKLCHoklch(55.31% 0.156 137.1)
XYZxyz(10.8040, 18.2053, 3.8086)
Luminance0.1821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408618 #5E1886
analogous
#778618 #408618 #188627
triadic
#408618 #184086 #861840
tetradic
#408618 #187786 #5E1886 #862718
square
#408618 #187786 #5E1886 #862718
split-complementary
#408618 #271886 #861877
monochromatic
#0E1E05 #27520F #408618 #59BA21 #76DC3C

Accessibility & contrast

On white

4.52
#408618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#408618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408618
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408618#FFFFFF#000000##000000
##4086181.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#827425
Tritanopia (blue-blind)
#3B8172
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #408618;
/* rgb */ color: rgb(64, 134, 24);
/* oklch */ color: oklch(55.3% 0.156 137.1);
Tailwind
colors: {
  custom: {
    50: '#7daa5f',
    500: '#408618',
    950: '#000000',
  },
}
SCSS
$custom: #408618;
$custom-light: #7daa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#408618",
  "rgb": {
    "r": 64,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 98.182,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55311,
    "c": 0.15604,
    "h": 137.1
  },
  "luminance": 0.18206
}

Semantic roles & 50–950 ramp

primary
#408618
secondary
#8D40BA
accent
#3BECAC
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #408618

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

Preview Lab → · Contrast checker → · Palette generator →

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