#405F14#405F14

#405F14 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.5% C 0.107 H 129.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#405F14
RGBrgb(64, 95, 20)
HSLhsl(85, 65%, 23%)
HSVhsv(85, 79%, 37%)
CMYKcmyk(32.6%, 0%, 78.9%, 62.7%)
CIE-LABlab(36.60, -24.03, 36.82)
CIE-LCHlch(36.60, 43.97, 123.13°)
OKLaboklab(44.54% -0.0684 0.0822)
OKLCHoklch(44.54% 0.107 129.8)
XYZxyz(6.3328, 9.3247, 2.1279)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405F14 #33145F
analogous
#5F5814 #405F14 #1B5F14
triadic
#405F14 #14405F #5F1440
tetradic
#405F14 #145F58 #33145F #5F141B
square
#405F14 #145F58 #33145F #5F141B
split-complementary
#405F14 #141B5F #58145F
monochromatic
#111905 #1E2C09 #405F14 #62921F #84C429

Accessibility & contrast

On white

7.33
#405F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#405F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405F14
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405F14#FFFFFF#000000##FFFFFF
##405F141.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645805
Deuteranopia (green-blind)
#60551B
Tritanopia (blue-blind)
#425B51
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405f14;
/* rgb */ color: rgb(64, 95, 20);
/* oklch */ color: oklch(44.5% 0.107 129.8);
Tailwind
colors: {
  custom: {
    50: '#788c58',
    500: '#405f14',
    950: '#000000',
  },
}
SCSS
$custom: #405f14;
$custom-light: #788c58;
$custom-dark: #000000;
JSON
{
  "hex": "#405f14",
  "rgb": {
    "r": 64,
    "g": 95,
    "b": 20
  },
  "hsl": {
    "h": 84.8,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44536,
    "c": 0.10696,
    "h": 129.8
  },
  "luminance": 0.09325
}

Semantic roles & 50–950 ramp

primary
#405F14
secondary
#5F3897
accent
#40E885
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #405F14

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

Preview Lab → · Contrast checker → · Palette generator →

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