#405313#405313

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

Color values

HEX#405313
RGBrgb(64, 83, 19)
HSLhsl(78, 63%, 20%)
HSVhsv(78, 77%, 33%)
CMYKcmyk(22.9%, 0%, 77.1%, 67.5%)
CIE-LABlab(32.53, -17.87, 33.21)
CIE-LCHlch(32.53, 37.71, 118.28°)
OKLaboklab(41.23% -0.0517 0.0745)
OKLCHoklch(41.23% 0.091 124.8)
XYZxyz(5.3252, 7.3235, 1.7490)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405313 #261353
analogous
#534613 #405313 #205313
triadic
#405313 #134053 #531340
tetradic
#405313 #135346 #261353 #531320
square
#405313 #135346 #261353 #531320
split-complementary
#405313 #132053 #461353
monochromatic
#131906 #1A2108 #405313 #66851E #8DB72A

Accessibility & contrast

On white

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

On black

2.46
#405313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##405313#FFFFFF#000000##FFFFFF
##4053131.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D08
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#434F46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #405313;
/* rgb */ color: rgb(64, 83, 19);
/* oklch */ color: oklch(41.2% 0.091 124.8);
Tailwind
colors: {
  custom: {
    50: '#778355',
    500: '#405313',
    950: '#000000',
  },
}
SCSS
$custom: #405313;
$custom-light: #778355;
$custom-dark: #000000;
JSON
{
  "hex": "#405313",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 19
  },
  "hsl": {
    "h": 77.813,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.4123,
    "c": 0.09064,
    "h": 124.8
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

primary
#405313
secondary
#50368B
accent
#42E673
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405313

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

Preview Lab → · Contrast checker → · Palette generator →

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