#406014#406014

#406014 is a dark, moderate yellow-green. Relative luminance 0.095; OKLCH L 44.8% C 0.108 H 130.1°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#406014
RGBrgb(64, 96, 20)
HSLhsl(85, 66%, 23%)
HSVhsv(85, 79%, 38%)
CMYKcmyk(33.3%, 0%, 79.2%, 62.4%)
CIE-LABlab(36.94, -24.53, 37.15)
CIE-LCHlch(36.94, 44.52, 123.43°)
OKLaboklab(44.81% -0.0698 0.0829)
OKLCHoklch(44.81% 0.108 130.1)
XYZxyz(6.4235, 9.5060, 2.1581)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406014 #341460
analogous
#605A14 #406014 #1A6014
triadic
#406014 #144060 #601440
tetradic
#406014 #14605A #341460 #60141A
square
#406014 #14605A #341460 #60141A
split-complementary
#406014 #141A60 #5A1460
monochromatic
#111905 #1E2D09 #406014 #62931F #84C529

Accessibility & contrast

On white

7.24
#406014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#406014 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #406014
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406014#FFFFFF#000000##FFFFFF
##4060141.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655805
Deuteranopia (green-blind)
#60561B
Tritanopia (blue-blind)
#425C51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #406014;
/* rgb */ color: rgb(64, 96, 20);
/* oklch */ color: oklch(44.8% 0.108 130.1);
Tailwind
colors: {
  custom: {
    50: '#788d58',
    500: '#406014',
    950: '#000000',
  },
}
SCSS
$custom: #406014;
$custom-light: #788d58;
$custom-dark: #000000;
JSON
{
  "hex": "#406014",
  "rgb": {
    "r": 64,
    "g": 96,
    "b": 20
  },
  "hsl": {
    "h": 85.263,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44811,
    "c": 0.10835,
    "h": 130.1
  },
  "luminance": 0.09506
}

Semantic roles & 50–950 ramp

primary
#406014
secondary
#603898
accent
#3FE887
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #406014

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

Preview Lab → · Contrast checker → · Palette generator →

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