#404F13#404F13

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

Color values

HEX#404F13
RGBrgb(64, 79, 19)
HSLhsl(75, 61%, 19%)
HSVhsv(75, 76%, 31%)
CMYKcmyk(19%, 0%, 75.9%, 69%)
CIE-LABlab(31.18, -15.68, 31.86)
CIE-LCHlch(31.18, 35.50, 116.20°)
OKLaboklab(40.14% -0.0456 0.0716)
OKLCHoklch(40.14% 0.085 122.5)
XYZxyz(5.0279, 6.7290, 1.6499)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404F13 #22134F
analogous
#4F4013 #404F13 #224F13
triadic
#404F13 #13404F #4F1340
tetradic
#404F13 #134F40 #22134F #4F1322
square
#404F13 #134F40 #22134F #4F1322
split-complementary
#404F13 #13224F #40134F
monochromatic
#141906 #181E07 #404F13 #68801F #90B22B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404F13#FFFFFF#000000##FFFFFF
##404F131.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)
#544A0A
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#444B43
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404f13;
/* rgb */ color: rgb(64, 79, 19);
/* oklch */ color: oklch(40.1% 0.085 122.5);
Tailwind
colors: {
  custom: {
    50: '#778055',
    500: '#404f13',
    950: '#000000',
  },
}
SCSS
$custom: #404f13;
$custom-light: #778055;
$custom-dark: #000000;
JSON
{
  "hex": "#404f13",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 19
  },
  "hsl": {
    "h": 75,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40139,
    "c": 0.08493,
    "h": 122.5
  },
  "luminance": 0.06729
}

Semantic roles & 50–950 ramp

primary
#404F13
secondary
#4B3688
accent
#43E46C
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #404F13

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

Preview Lab → · Contrast checker → · Palette generator →

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