#405113#405113

#405113 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.7% C 0.088 H 123.7°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#405113
RGBrgb(64, 81, 19)
HSLhsl(76, 62%, 20%)
HSVhsv(76, 77%, 32%)
CMYKcmyk(21%, 0%, 76.5%, 68.2%)
CIE-LABlab(31.86, -16.78, 32.54)
CIE-LCHlch(31.86, 36.61, 117.28°)
OKLaboklab(40.68% -0.0487 0.0731)
OKLCHoklch(40.68% 0.088 123.7)
XYZxyz(5.1744, 7.0218, 1.6987)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405113 #241351
analogous
#514313 #405113 #215113
triadic
#405113 #134051 #511340
tetradic
#405113 #135143 #241351 #511321
square
#405113 #135143 #241351 #511321
split-complementary
#405113 #132151 #431351
monochromatic
#141906 #191F07 #405113 #67831F #8EB42A

Accessibility & contrast

On white

8.73
#405113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#405113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405113
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405113#FFFFFF#000000##FFFFFF
##4051131.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B09
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#434D45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #405113;
/* rgb */ color: rgb(64, 81, 19);
/* oklch */ color: oklch(40.7% 0.088 123.7);
Tailwind
colors: {
  custom: {
    50: '#778155',
    500: '#405113',
    950: '#000000',
  },
}
SCSS
$custom: #405113;
$custom-light: #778155;
$custom-dark: #000000;
JSON
{
  "hex": "#405113",
  "rgb": {
    "r": 64,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 76.452,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40684,
    "c": 0.08778,
    "h": 123.7
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#405113
secondary
#4D368A
accent
#43E56F
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405113

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

Preview Lab → · Contrast checker → · Palette generator →

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