#405F10#405F10

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

Color values

HEX#405F10
RGBrgb(64, 95, 16)
HSLhsl(84, 71%, 22%)
HSVhsv(84, 83%, 37%)
CMYKcmyk(32.6%, 0%, 83.2%, 62.7%)
CIE-LABlab(36.58, -24.28, 38.28)
CIE-LCHlch(36.58, 45.32, 122.38°)
OKLaboklab(44.51% -0.0694 0.0846)
OKLCHoklch(44.51% 0.109 129.4)
XYZxyz(6.3001, 9.3116, 1.9555)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405F10 #2F105F
analogous
#5F5710 #405F10 #195F10
triadic
#405F10 #10405F #5F1040
tetradic
#405F10 #105F57 #2F105F #5F1019
square
#405F10 #105F57 #2F105F #5F1019
split-complementary
#405F10 #10195F #57105F
monochromatic
#121A04 #1D2B07 #405F10 #639319 #87C822

Accessibility & contrast

On white

7.34
#405F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#405F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405F10
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405F10#FFFFFF#000000##FFFFFF
##405F101.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#605518
Tritanopia (blue-blind)
#425A50
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405f10;
/* rgb */ color: rgb(64, 95, 16);
/* oklch */ color: oklch(44.5% 0.109 129.4);
Tailwind
colors: {
  custom: {
    50: '#788c56',
    500: '#405f10',
    950: '#000000',
  },
}
SCSS
$custom: #405f10;
$custom-light: #788c56;
$custom-dark: #000000;
JSON
{
  "hex": "#405f10",
  "rgb": {
    "r": 64,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 83.544,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.44508,
    "c": 0.1094,
    "h": 129.4
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#405F10
secondary
#5B3398
accent
#3AEE81
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #405F10

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

Preview Lab → · Contrast checker → · Palette generator →

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