#404F14#404F14

#404F14 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 40.1% C 0.084 H 122.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#404F14
RGBrgb(64, 79, 20)
HSLhsl(75, 60%, 19%)
HSVhsv(75, 75%, 31%)
CMYKcmyk(19%, 0%, 74.7%, 69%)
CIE-LABlab(31.19, -15.60, 31.42)
CIE-LCHlch(31.19, 35.08, 116.41°)
OKLaboklab(40.15% -0.0453 0.0709)
OKLCHoklch(40.15% 0.084 122.6)
XYZxyz(5.0367, 6.7324, 1.6958)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404F14 #23144F
analogous
#4F4114 #404F14 #234F14
triadic
#404F14 #14404F #4F1440
tetradic
#404F14 #144F41 #23144F #4F1423
square
#404F14 #144F41 #23144F #4F1423
split-complementary
#404F14 #14234F #41144F
monochromatic
#141806 #181E08 #404F14 #688020 #8FB12D

Accessibility & contrast

On white

8.95
#404F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404F14
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404F14#FFFFFF#000000##FFFFFF
##404F141.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0B
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#444B43
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404f14;
/* rgb */ color: rgb(64, 79, 20);
/* oklch */ color: oklch(40.1% 0.084 122.6);
Tailwind
colors: {
  custom: {
    50: '#778055',
    500: '#404f14',
    950: '#000000',
  },
}
SCSS
$custom: #404f14;
$custom-light: #778055;
$custom-dark: #000000;
JSON
{
  "hex": "#404f14",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 20
  },
  "hsl": {
    "h": 75.254,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40148,
    "c": 0.08413,
    "h": 122.6
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#404F14
secondary
#4C3887
accent
#45E36D
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #404F14

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

Preview Lab → · Contrast checker → · Palette generator →

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