#404F1A#404F1A

#404F1A is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.2% C 0.079 H 123.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#404F1A
RGBrgb(64, 79, 26)
HSLhsl(77, 50%, 21%)
HSVhsv(77, 67%, 31%)
CMYKcmyk(19%, 0%, 67.1%, 69%)
CIE-LABlab(31.25, -15.10, 28.58)
CIE-LCHlch(31.25, 32.32, 117.85°)
OKLaboklab(40.21% -0.0433 0.0658)
OKLCHoklch(40.21% 0.079 123.3)
XYZxyz(5.0968, 6.7565, 2.0127)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404F1A #291A4F
analogous
#4F431A #404F1A #254F1A
triadic
#404F1A #1A404F #4F1A40
tetradic
#404F1A #1A4F43 #291A4F #4F1A25
square
#404F1A #1A4F43 #291A4F #4F1A25
split-complementary
#404F1A #1A254F #431A4F
monochromatic
#131708 #1B210B #404F1A #657D29 #8BAB38

Accessibility & contrast

On white

8.93
#404F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#404F1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404F1A
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404F1A#FFFFFF#000000##FFFFFF
##404F1A1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A14
Deuteranopia (green-blind)
#52491E
Tritanopia (blue-blind)
#434B44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #404f1a;
/* rgb */ color: rgb(64, 79, 26);
/* oklch */ color: oklch(40.2% 0.079 123.3);
Tailwind
colors: {
  custom: {
    50: '#768059',
    500: '#404f1a',
    950: '#000000',
  },
}
SCSS
$custom: #404f1a;
$custom-light: #768059;
$custom-dark: #000000;
JSON
{
  "hex": "#404f1a",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 26
  },
  "hsl": {
    "h": 76.981,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40211,
    "c": 0.07879,
    "h": 123.3
  },
  "luminance": 0.06757
}

Semantic roles & 50–950 ramp

primary
#404F1A
secondary
#534085
accent
#4EDA75
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #404F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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