#405314#405314

#405314 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.2% C 0.090 H 124.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#405314
RGBrgb(64, 83, 20)
HSLhsl(78, 61%, 20%)
HSVhsv(78, 76%, 33%)
CMYKcmyk(22.9%, 0%, 75.9%, 67.5%)
CIE-LABlab(32.54, -17.80, 32.79)
CIE-LCHlch(32.54, 37.31, 118.49°)
OKLaboklab(41.24% -0.0514 0.0738)
OKLCHoklch(41.24% 0.09 124.9)
XYZxyz(5.3339, 7.3270, 1.7949)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405314 #271453
analogous
#534614 #405314 #215314
triadic
#405314 #144053 #531440
tetradic
#405314 #145346 #271453 #531421
square
#405314 #145346 #271453 #531421
split-complementary
#405314 #142153 #461453
monochromatic
#131906 #1A2208 #405314 #668420 #8CB62C

Accessibility & contrast

On white

8.52
#405314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#405314 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405314
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405314#FFFFFF#000000##FFFFFF
##4053141.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0A
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#434F47
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #405314;
/* rgb */ color: rgb(64, 83, 20);
/* oklch */ color: oklch(41.2% 0.090 124.9);
Tailwind
colors: {
  custom: {
    50: '#778356',
    500: '#405314',
    950: '#000000',
  },
}
SCSS
$custom: #405314;
$custom-light: #778356;
$custom-dark: #000000;
JSON
{
  "hex": "#405314",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 20
  },
  "hsl": {
    "h": 78.095,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41239,
    "c": 0.08988,
    "h": 124.9
  },
  "luminance": 0.07327
}

Semantic roles & 50–950 ramp

primary
#405314
secondary
#51388B
accent
#44E474
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405314

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

Preview Lab → · Contrast checker → · Palette generator →

#405314 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva