#404C14#404C14

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

Color values

HEX#404C14
RGBrgb(64, 76, 20)
HSLhsl(73, 58%, 19%)
HSVhsv(73, 74%, 30%)
CMYKcmyk(15.8%, 0%, 73.7%, 70.2%)
CIE-LABlab(30.18, -13.91, 30.38)
CIE-LCHlch(30.18, 33.41, 114.61°)
OKLaboklab(39.33% -0.0407 0.0687)
OKLCHoklch(39.33% 0.08 120.6)
XYZxyz(4.8251, 6.3094, 1.6253)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404C14 #20144C
analogous
#4C3C14 #404C14 #244C14
triadic
#404C14 #14404C #4C1440
tetradic
#404C14 #144C3C #20144C #4C1424
square
#404C14 #144C3C #20144C #4C1424
split-complementary
#404C14 #14244C #3C144C
monochromatic
#141806 #171C07 #404C14 #697C21 #92AD2E

Accessibility & contrast

On white

9.28
#404C14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404C14
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404C14#FFFFFF#000000##FFFFFF
##404C141.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404c14;
/* rgb */ color: rgb(64, 76, 20);
/* oklch */ color: oklch(39.3% 0.080 120.6);
Tailwind
colors: {
  custom: {
    50: '#777e55',
    500: '#404c14',
    950: '#000000',
  },
}
SCSS
$custom: #404c14;
$custom-light: #777e55;
$custom-dark: #000000;
JSON
{
  "hex": "#404c14",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 20
  },
  "hsl": {
    "h": 72.857,
    "s": 58.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39334,
    "c": 0.07982,
    "h": 120.6
  },
  "luminance": 0.06309
}

Semantic roles & 50–950 ramp

primary
#404C14
secondary
#483884
accent
#46E268
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404C14

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

Preview Lab → · Contrast checker → · Palette generator →

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