#404A14#404A14

#404A14 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.8% C 0.077 H 119.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#404A14
RGBrgb(64, 74, 20)
HSLhsl(71, 57%, 18%)
HSVhsv(71, 73%, 29%)
CMYKcmyk(13.5%, 0%, 73%, 71%)
CIE-LABlab(29.51, -12.77, 29.68)
CIE-LCHlch(29.51, 32.31, 113.28°)
OKLaboklab(38.79% -0.0375 0.0672)
OKLCHoklch(38.79% 0.077 119.1)
XYZxyz(4.6895, 6.0381, 1.5801)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404A14 #1E144A
analogous
#4A3914 #404A14 #254A14
triadic
#404A14 #14404A #4A1440
tetradic
#404A14 #144A39 #1E144A #4A1425
square
#404A14 #144A39 #1E144A #4A1425
split-complementary
#404A14 #14254A #39144A
monochromatic
#151807 #161A07 #404A14 #6A7A21 #93AA2E

Accessibility & contrast

On white

9.51
#404A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#404A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404A14
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404A14#FFFFFF#000000##FFFFFF
##404A141.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F460D
Deuteranopia (green-blind)
#4E4618
Tritanopia (blue-blind)
#44463F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #404a14;
/* rgb */ color: rgb(64, 74, 20);
/* oklch */ color: oklch(38.8% 0.077 119.1);
Tailwind
colors: {
  custom: {
    50: '#777c55',
    500: '#404a14',
    950: '#000000',
  },
}
SCSS
$custom: #404a14;
$custom-light: #777c55;
$custom-dark: #000000;
JSON
{
  "hex": "#404a14",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 20
  },
  "hsl": {
    "h": 71.111,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38793,
    "c": 0.07697,
    "h": 119.1
  },
  "luminance": 0.06038
}

Semantic roles & 50–950 ramp

primary
#404A14
secondary
#453882
accent
#47E164
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404A14

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

Preview Lab → · Contrast checker → · Palette generator →

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