#405F16#405F16

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

Color values

HEX#405F16
RGBrgb(64, 95, 22)
HSLhsl(85, 62%, 23%)
HSVhsv(85, 77%, 37%)
CMYKcmyk(32.6%, 0%, 76.8%, 62.7%)
CIE-LABlab(36.62, -23.89, 36.03)
CIE-LCHlch(36.62, 43.24, 123.55°)
OKLaboklab(44.55% -0.0679 0.0809)
OKLCHoklch(44.55% 0.106 130)
XYZxyz(6.3513, 9.3321, 2.2255)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405F16 #35165F
analogous
#5F5916 #405F16 #1C5F16
triadic
#405F16 #16405F #5F1640
tetradic
#405F16 #165F59 #35165F #5F161C
square
#405F16 #165F59 #35165F #5F161C
split-complementary
#405F16 #161C5F #59165F
monochromatic
#111906 #1F2D0A #405F16 #619122 #83C22D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##405F16#FFFFFF#000000##FFFFFF
##405F161.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)
#645809
Deuteranopia (green-blind)
#5F551D
Tritanopia (blue-blind)
#425B51
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405f16;
/* rgb */ color: rgb(64, 95, 22);
/* oklch */ color: oklch(44.6% 0.106 130.0);
Tailwind
colors: {
  custom: {
    50: '#788c59',
    500: '#405f16',
    950: '#000000',
  },
}
SCSS
$custom: #405f16;
$custom-light: #788c59;
$custom-dark: #000000;
JSON
{
  "hex": "#405f16",
  "rgb": {
    "r": 64,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 85.479,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44551,
    "c": 0.1056,
    "h": 130
  },
  "luminance": 0.09332
}

Semantic roles & 50–950 ramp

primary
#405F16
secondary
#623B96
accent
#42E588
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #405F16

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

Preview Lab → · Contrast checker → · Palette generator →

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