#405E10#405E10

#405E10 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.2% C 0.108 H 129.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#405E10
RGBrgb(64, 94, 16)
HSLhsl(83, 71%, 22%)
HSVhsv(83, 83%, 37%)
CMYKcmyk(31.9%, 0%, 83%, 63.1%)
CIE-LABlab(36.24, -23.78, 37.96)
CIE-LCHlch(36.24, 44.79, 122.06°)
OKLaboklab(44.23% -0.0681 0.0839)
OKLCHoklch(44.23% 0.108 129.1)
XYZxyz(6.2106, 9.1326, 1.9257)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E10 #2E105E
analogous
#5E5510 #405E10 #195E10
triadic
#405E10 #10405E #5E1040
tetradic
#405E10 #105E55 #2E105E #5E1019
square
#405E10 #105E55 #2E105E #5E1019
split-complementary
#405E10 #10195E #55105E
monochromatic
#121A04 #1C2A07 #405E10 #649219 #87C722

Accessibility & contrast

On white

7.43
#405E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#405E10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405E10
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E10#FFFFFF#000000##FFFFFF
##405E101.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635700
Deuteranopia (green-blind)
#5F5518
Tritanopia (blue-blind)
#425950
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405e10;
/* rgb */ color: rgb(64, 94, 16);
/* oklch */ color: oklch(44.2% 0.108 129.1);
Tailwind
colors: {
  custom: {
    50: '#788c56',
    500: '#405e10',
    950: '#000000',
  },
}
SCSS
$custom: #405e10;
$custom-light: #788c56;
$custom-dark: #000000;
JSON
{
  "hex": "#405e10",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 16
  },
  "hsl": {
    "h": 83.077,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44232,
    "c": 0.10803,
    "h": 129.1
  },
  "luminance": 0.09133
}

Semantic roles & 50–950 ramp

primary
#405E10
secondary
#593397
accent
#3AEE7F
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #405E10

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

Preview Lab → · Contrast checker → · Palette generator →

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