#405310#405310

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

Color values

HEX#405310
RGBrgb(64, 83, 16)
HSLhsl(77, 68%, 19%)
HSVhsv(77, 81%, 33%)
CMYKcmyk(22.9%, 0%, 80.7%, 67.5%)
CIE-LABlab(32.51, -18.06, 34.42)
CIE-LCHlch(32.51, 38.88, 117.69°)
OKLaboklab(41.21% -0.0525 0.0765)
OKLCHoklch(41.21% 0.093 124.5)
XYZxyz(5.3012, 7.3139, 1.6225)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405310 #231053
analogous
#534510 #405310 #1F5310
triadic
#405310 #104053 #531040
tetradic
#405310 #105345 #231053 #53101F
square
#405310 #105345 #231053 #53101F
split-complementary
#405310 #101F53 #451053
monochromatic
#141A05 #182006 #405310 #68861A #8FBA24

Accessibility & contrast

On white

8.53
#405310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405310
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405310#FFFFFF#000000##FFFFFF
##4053101.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D04
Deuteranopia (green-blind)
#564C16
Tritanopia (blue-blind)
#434F46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #405310;
/* rgb */ color: rgb(64, 83, 16);
/* oklch */ color: oklch(41.2% 0.093 124.5);
Tailwind
colors: {
  custom: {
    50: '#778354',
    500: '#405310',
    950: '#000000',
  },
}
SCSS
$custom: #405310;
$custom-light: #778354;
$custom-dark: #000000;
JSON
{
  "hex": "#405310",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 77.015,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41206,
    "c": 0.09275,
    "h": 124.5
  },
  "luminance": 0.07314
}

Semantic roles & 50–950 ramp

primary
#405310
secondary
#4C328D
accent
#3DEB6E
background
#F7F8F5
surface
#EDEFE8
border
#C8CAC4
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405310

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

Preview Lab → · Contrast checker → · Palette generator →

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