#404C13#404C13

#404C13 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.3% C 0.081 H 120.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#404C13
RGBrgb(64, 76, 19)
HSLhsl(73, 60%, 19%)
HSVhsv(73, 75%, 30%)
CMYKcmyk(15.8%, 0%, 75%, 70.2%)
CIE-LABlab(30.17, -13.99, 30.83)
CIE-LCHlch(30.17, 33.86, 114.41°)
OKLaboklab(39.32% -0.041 0.0695)
OKLCHoklch(39.32% 0.081 120.5)
XYZxyz(4.8164, 6.3059, 1.5794)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404C13 #1F134C
analogous
#4C3B13 #404C13 #234C13
triadic
#404C13 #13404C #4C1340
tetradic
#404C13 #134C3B #1F134C #4C1323
square
#404C13 #134C3B #1F134C #4C1323
split-complementary
#404C13 #13234C #3B134C
monochromatic
#151806 #171B07 #404C13 #697D1F #92AE2B

Accessibility & contrast

On white

9.29
#404C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#404C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404C13
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404C13#FFFFFF#000000##FFFFFF
##404C131.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470A
Deuteranopia (green-blind)
#504717
Tritanopia (blue-blind)
#444841
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #404c13;
/* rgb */ color: rgb(64, 76, 19);
/* oklch */ color: oklch(39.3% 0.081 120.5);
Tailwind
colors: {
  custom: {
    50: '#777e55',
    500: '#404c13',
    950: '#000000',
  },
}
SCSS
$custom: #404c13;
$custom-light: #777e55;
$custom-dark: #000000;
JSON
{
  "hex": "#404c13",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 19
  },
  "hsl": {
    "h": 72.632,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39324,
    "c": 0.08065,
    "h": 120.5
  },
  "luminance": 0.06306
}

Semantic roles & 50–950 ramp

primary
#404C13
secondary
#473685
accent
#45E366
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404C13

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

Preview Lab → · Contrast checker → · Palette generator →

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