#405914#405914

#405914 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.9% C 0.098 H 127.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#405914
RGBrgb(64, 89, 20)
HSLhsl(82, 63%, 21%)
HSVhsv(82, 78%, 35%)
CMYKcmyk(28.1%, 0%, 77.5%, 65.1%)
CIE-LABlab(34.57, -20.98, 34.82)
CIE-LCHlch(34.57, 40.65, 121.07°)
OKLaboklab(42.88% -0.0601 0.078)
OKLCHoklch(42.88% 0.098 127.6)
XYZxyz(5.8130, 8.2851, 1.9546)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405914 #2D1459
analogous
#595014 #405914 #1E5914
triadic
#405914 #144059 #591440
tetradic
#405914 #145950 #2D1459 #59141E
square
#405914 #145950 #2D1459 #59141E
split-complementary
#405914 #141E59 #501459
monochromatic
#121906 #1C2709 #405914 #648B1F #88BD2A

Accessibility & contrast

On white

7.90
#405914 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#405914 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405914
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405914#FFFFFF#000000##FFFFFF
##4059141.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5208
Deuteranopia (green-blind)
#5A511A
Tritanopia (blue-blind)
#43554C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #405914;
/* rgb */ color: rgb(64, 89, 20);
/* oklch */ color: oklch(42.9% 0.098 127.6);
Tailwind
colors: {
  custom: {
    50: '#778857',
    500: '#405914',
    950: '#000000',
  },
}
SCSS
$custom: #405914;
$custom-light: #778857;
$custom-dark: #000000;
JSON
{
  "hex": "#405914",
  "rgb": {
    "r": 64,
    "g": 89,
    "b": 20
  },
  "hsl": {
    "h": 81.739,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42884,
    "c": 0.09848,
    "h": 127.6
  },
  "luminance": 0.08285
}

Semantic roles & 50–950 ramp

primary
#405914
secondary
#583891
accent
#41E67D
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405914

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

Preview Lab → · Contrast checker → · Palette generator →

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