#404A17#404A17

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

Color values

HEX#404A17
RGBrgb(64, 74, 23)
HSLhsl(72, 53%, 19%)
HSVhsv(72, 69%, 29%)
CMYKcmyk(13.5%, 0%, 68.9%, 71%)
CIE-LABlab(29.54, -12.52, 28.24)
CIE-LCHlch(29.54, 30.89, 113.92°)
OKLaboklab(38.82% -0.0365 0.0647)
OKLCHoklch(38.82% 0.074 119.4)
XYZxyz(4.7179, 6.0494, 1.7296)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404A17 #21174A
analogous
#4A3B17 #404A17 #274A17
triadic
#404A17 #17404A #4A1740
tetradic
#404A17 #174A3B #21174A #4A1727
square
#404A17 #174A3B #21174A #4A1727
split-complementary
#404A17 #17274A #3B174A
monochromatic
#141707 #181B08 #404A17 #687926 #91A734

Accessibility & contrast

On white

9.50
#404A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404A17
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404A17#FFFFFF#000000##FFFFFF
##404A171.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404a17;
/* rgb */ color: rgb(64, 74, 23);
/* oklch */ color: oklch(38.8% 0.074 119.4);
Tailwind
colors: {
  custom: {
    50: '#767c57',
    500: '#404a17',
    950: '#000000',
  },
}
SCSS
$custom: #404a17;
$custom-light: #767c57;
$custom-dark: #000000;
JSON
{
  "hex": "#404a17",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 23
  },
  "hsl": {
    "h": 71.765,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38825,
    "c": 0.07423,
    "h": 119.4
  },
  "luminance": 0.06049
}

Semantic roles & 50–950 ramp

primary
#404A17
secondary
#493C81
accent
#4CDC68
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404A17

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

Preview Lab → · Contrast checker → · Palette generator →

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