#405D14#405D14

#405D14 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 44.0% C 0.104 H 129.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#405D14
RGBrgb(64, 93, 20)
HSLhsl(84, 65%, 22%)
HSVhsv(84, 78%, 36%)
CMYKcmyk(31.2%, 0%, 78.5%, 63.5%)
CIE-LABlab(35.92, -23.03, 36.16)
CIE-LCHlch(35.92, 42.87, 122.49°)
OKLaboklab(43.98% -0.0657 0.0808)
OKLCHoklch(43.98% 0.104 129.1)
XYZxyz(6.1550, 8.9690, 2.0686)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405D14 #31145D
analogous
#5D5614 #405D14 #1B5D14
triadic
#405D14 #14405D #5D1440
tetradic
#405D14 #145D56 #31145D #5D141B
square
#405D14 #145D56 #31145D #5D141B
split-complementary
#405D14 #141B5D #56145D
monochromatic
#111905 #1D2B09 #405D14 #638F1F #85C22A

Accessibility & contrast

On white

7.52
#405D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#405D14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405D14
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405D14#FFFFFF#000000##FFFFFF
##405D141.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625606
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#42594F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405d14;
/* rgb */ color: rgb(64, 93, 20);
/* oklch */ color: oklch(44.0% 0.104 129.1);
Tailwind
colors: {
  custom: {
    50: '#788b57',
    500: '#405d14',
    950: '#000000',
  },
}
SCSS
$custom: #405d14;
$custom-light: #788b57;
$custom-dark: #000000;
JSON
{
  "hex": "#405d14",
  "rgb": {
    "r": 64,
    "g": 93,
    "b": 20
  },
  "hsl": {
    "h": 83.836,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43984,
    "c": 0.10415,
    "h": 129.1
  },
  "luminance": 0.08969
}

Semantic roles & 50–950 ramp

primary
#405D14
secondary
#5D3895
accent
#40E883
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #405D14

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

Preview Lab → · Contrast checker → · Palette generator →

#405D14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva