#405C14#405C14

#405C14 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.7% C 0.103 H 128.8°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#405C14
RGBrgb(64, 92, 20)
HSLhsl(83, 64%, 22%)
HSVhsv(83, 78%, 36%)
CMYKcmyk(30.4%, 0%, 78.3%, 63.9%)
CIE-LABlab(35.59, -22.52, 35.83)
CIE-LCHlch(35.59, 42.32, 122.15°)
OKLaboklab(43.71% -0.0643 0.0801)
OKLCHoklch(43.71% 0.103 128.8)
XYZxyz(6.0678, 8.7946, 2.0395)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405C14 #30145C
analogous
#5C5414 #405C14 #1C5C14
triadic
#405C14 #14405C #5C1440
tetradic
#405C14 #145C54 #30145C #5C141C
square
#405C14 #145C54 #30145C #5C141C
split-complementary
#405C14 #141C5C #54145C
monochromatic
#111905 #1D2A09 #405C14 #638E1F #86C12A

Accessibility & contrast

On white

7.61
#405C14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#405C14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405C14
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405C14#FFFFFF#000000##FFFFFF
##405C141.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615507
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#42584E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405c14;
/* rgb */ color: rgb(64, 92, 20);
/* oklch */ color: oklch(43.7% 0.103 128.8);
Tailwind
colors: {
  custom: {
    50: '#788a57',
    500: '#405c14',
    950: '#000000',
  },
}
SCSS
$custom: #405c14;
$custom-light: #788a57;
$custom-dark: #000000;
JSON
{
  "hex": "#405c14",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 20
  },
  "hsl": {
    "h": 83.333,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43709,
    "c": 0.10274,
    "h": 128.8
  },
  "luminance": 0.08795
}

Semantic roles & 50–950 ramp

primary
#405C14
secondary
#5C3894
accent
#41E781
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #405C14

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

Preview Lab → · Contrast checker → · Palette generator →

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