#405316#405316

#405316 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.3% C 0.088 H 125.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#405316
RGBrgb(64, 83, 22)
HSLhsl(79, 58%, 21%)
HSVhsv(79, 73%, 33%)
CMYKcmyk(22.9%, 0%, 73.5%, 67.5%)
CIE-LABlab(32.56, -17.64, 31.91)
CIE-LCHlch(32.56, 36.46, 118.94°)
OKLaboklab(41.26% -0.0508 0.0723)
OKLCHoklch(41.26% 0.088 125.1)
XYZxyz(5.3525, 7.3344, 1.8926)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405316 #291653
analogous
#534716 #405316 #215316
triadic
#405316 #164053 #531640
tetradic
#405316 #165347 #291653 #531621
square
#405316 #165347 #291653 #531621
split-complementary
#405316 #162153 #471653
monochromatic
#131806 #1B2309 #405316 #658323 #8BB430

Accessibility & contrast

On white

8.51
#405316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405316
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405316#FFFFFF#000000##FFFFFF
##4053161.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #405316;
/* rgb */ color: rgb(64, 83, 22);
/* oklch */ color: oklch(41.3% 0.088 125.1);
Tailwind
colors: {
  custom: {
    50: '#778357',
    500: '#405316',
    950: '#000000',
  },
}
SCSS
$custom: #405316;
$custom-light: #778357;
$custom-dark: #000000;
JSON
{
  "hex": "#405316",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 22
  },
  "hsl": {
    "h": 78.689,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41257,
    "c": 0.0883,
    "h": 125.1
  },
  "luminance": 0.07334
}

Semantic roles & 50–950 ramp

primary
#405316
secondary
#533A8A
accent
#46E177
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405316

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

Preview Lab → · Contrast checker → · Palette generator →

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