#404D14#404D14

#404D14 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.6% C 0.081 H 121.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#404D14
RGBrgb(64, 77, 20)
HSLhsl(74, 59%, 19%)
HSVhsv(74, 74%, 30%)
CMYKcmyk(16.9%, 0%, 74%, 69.8%)
CIE-LABlab(30.52, -14.48, 30.72)
CIE-LCHlch(30.52, 33.96, 115.24°)
OKLaboklab(39.61% -0.0422 0.0694)
OKLCHoklch(39.61% 0.081 121.3)
XYZxyz(4.8946, 6.4483, 1.6485)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404D14 #21144D
analogous
#4D3E14 #404D14 #244D14
triadic
#404D14 #14404D #4D1440
tetradic
#404D14 #144D3E #21144D #4D1424
square
#404D14 #144D3E #21144D #4D1424
split-complementary
#404D14 #14244D #3E144D
monochromatic
#141806 #181C07 #404D14 #687E21 #91AE2D

Accessibility & contrast

On white

9.17
#404D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#404D14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404D14
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404D14#FFFFFF#000000##FFFFFF
##404D141.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480C
Deuteranopia (green-blind)
#504818
Tritanopia (blue-blind)
#444942
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #404d14;
/* rgb */ color: rgb(64, 77, 20);
/* oklch */ color: oklch(39.6% 0.081 121.3);
Tailwind
colors: {
  custom: {
    50: '#777e55',
    500: '#404d14',
    950: '#000000',
  },
}
SCSS
$custom: #404d14;
$custom-light: #777e55;
$custom-dark: #000000;
JSON
{
  "hex": "#404d14",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 20
  },
  "hsl": {
    "h": 73.684,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39605,
    "c": 0.08126,
    "h": 121.3
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#404D14
secondary
#493885
accent
#46E269
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #404D14

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

Preview Lab → · Contrast checker → · Palette generator →

#404D14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva