#404A13#404A13

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

Color values

HEX#404A13
RGBrgb(64, 74, 19)
HSLhsl(71, 59%, 18%)
HSVhsv(71, 74%, 29%)
CMYKcmyk(13.5%, 0%, 74.3%, 71%)
CIE-LABlab(29.50, -12.85, 30.14)
CIE-LCHlch(29.50, 32.76, 113.08°)
OKLaboklab(38.78% -0.0378 0.068)
OKLCHoklch(38.78% 0.078 119.1)
XYZxyz(4.6808, 6.0346, 1.5342)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404A13 #1D134A
analogous
#4A3813 #404A13 #244A13
triadic
#404A13 #13404A #4A1340
tetradic
#404A13 #134A38 #1D134A #4A1324
square
#404A13 #134A38 #1D134A #4A1324
split-complementary
#404A13 #13244A #38134A
monochromatic
#151806 #161906 #404A13 #6A7B20 #94AB2C

Accessibility & contrast

On white

9.52
#404A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404A13
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404A13#FFFFFF#000000##FFFFFF
##404A131.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450B
Deuteranopia (green-blind)
#4E4617
Tritanopia (blue-blind)
#44463F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #404a13;
/* rgb */ color: rgb(64, 74, 19);
/* oklch */ color: oklch(38.8% 0.078 119.1);
Tailwind
colors: {
  custom: {
    50: '#777c54',
    500: '#404a13',
    950: '#000000',
  },
}
SCSS
$custom: #404a13;
$custom-light: #777c54;
$custom-dark: #000000;
JSON
{
  "hex": "#404a13",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 19
  },
  "hsl": {
    "h": 70.909,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38783,
    "c": 0.07782,
    "h": 119.1
  },
  "luminance": 0.06035
}

Semantic roles & 50–950 ramp

primary
#404A13
secondary
#443683
accent
#45E262
background
#F7F7F5
surface
#EDEEE8
border
#C8C9C4
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404A13

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

Preview Lab → · Contrast checker → · Palette generator →

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