#406618#406618

#406618 is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.5% C 0.114 H 132.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#406618
RGBrgb(64, 102, 24)
HSLhsl(89, 62%, 25%)
HSVhsv(89, 76%, 40%)
CMYKcmyk(37.3%, 0%, 76.5%, 60%)
CIE-LABlab(39.00, -27.18, 37.60)
CIE-LCHlch(39.00, 46.39, 125.86°)
OKLaboklab(46.5% -0.0766 0.0845)
OKLCHoklch(46.5% 0.114 132.2)
XYZxyz(7.0305, 10.6584, 2.5508)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406618 #3E1866
analogous
#666518 #406618 #196618
triadic
#406618 #184066 #661840
tetradic
#406618 #186665 #3E1866 #661819
square
#406618 #186665 #3E1866 #661819
split-complementary
#406618 #181966 #651866
monochromatic
#101906 #21340C #406618 #5F9824 #7EC92F

Accessibility & contrast

On white

6.71
#406618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#406618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406618
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406618#FFFFFF#000000##FFFFFF
##4066181.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0A
Deuteranopia (green-blind)
#655B1F
Tritanopia (blue-blind)
#416257
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #406618;
/* rgb */ color: rgb(64, 102, 24);
/* oklch */ color: oklch(46.5% 0.114 132.2);
Tailwind
colors: {
  custom: {
    50: '#78925b',
    500: '#406618',
    950: '#000000',
  },
}
SCSS
$custom: #406618;
$custom-light: #78925b;
$custom-dark: #000000;
JSON
{
  "hex": "#406618",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 89.231,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46498,
    "c": 0.11408,
    "h": 132.2
  },
  "luminance": 0.10659
}

Semantic roles & 50–950 ramp

primary
#406618
secondary
#6C3E9C
accent
#43E592
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090D04
muted
#7B7D79

Preview Lab

Preview with #406618

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

Preview Lab → · Contrast checker → · Palette generator →

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