#405114#405114

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

Color values

HEX#405114
RGBrgb(64, 81, 20)
HSLhsl(77, 60%, 20%)
HSVhsv(77, 75%, 32%)
CMYKcmyk(21%, 0%, 75.3%, 68.2%)
CIE-LABlab(31.86, -16.71, 32.10)
CIE-LCHlch(31.86, 36.19, 117.49°)
OKLaboklab(40.69% -0.0484 0.0723)
OKLCHoklch(40.69% 0.087 123.8)
XYZxyz(5.1831, 7.0253, 1.7446)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405114 #251451
analogous
#514314 #405114 #225114
triadic
#405114 #144051 #511440
tetradic
#405114 #145143 #251451 #511422
square
#405114 #145143 #251451 #511422
split-complementary
#405114 #142251 #431451
monochromatic
#131906 #192008 #405114 #678220 #8EB32C

Accessibility & contrast

On white

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

On black

2.41
#405114 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##405114#FFFFFF#000000##FFFFFF
##4051141.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #405114;
/* rgb */ color: rgb(64, 81, 20);
/* oklch */ color: oklch(40.7% 0.087 123.8);
Tailwind
colors: {
  custom: {
    50: '#778156',
    500: '#405114',
    950: '#000000',
  },
}
SCSS
$custom: #405114;
$custom-light: #778156;
$custom-dark: #000000;
JSON
{
  "hex": "#405114",
  "rgb": {
    "r": 64,
    "g": 81,
    "b": 20
  },
  "hsl": {
    "h": 76.721,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40693,
    "c": 0.08701,
    "h": 123.8
  },
  "luminance": 0.07025
}

Semantic roles & 50–950 ramp

primary
#405114
secondary
#4E3889
accent
#44E471
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405114

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

Preview Lab → · Contrast checker → · Palette generator →

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