#404C0D#404C0D

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

Color values

HEX#404C0D
RGBrgb(64, 76, 13)
HSLhsl(71, 71%, 17%)
HSVhsv(71, 83%, 30%)
CMYKcmyk(15.8%, 0%, 82.9%, 70.2%)
CIE-LABlab(30.13, -14.38, 33.32)
CIE-LCHlch(30.13, 36.29, 113.34°)
OKLaboklab(39.28% -0.0427 0.0736)
OKLCHoklch(39.28% 0.085 120.1)
XYZxyz(4.7715, 6.2879, 1.3430)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404C0D #190D4C
analogous
#4C390D #404C0D #204C0D
triadic
#404C0D #0D404C #4C0D40
tetradic
#404C0D #0D4C39 #190D4C #4C0D20
square
#404C0D #0D4C39 #190D4C #4C0D20
split-complementary
#404C0D #0D204C #390D4C
monochromatic
#161A04 #161A04 #404C0D #6C8016 #98B51F

Accessibility & contrast

On white

9.30
#404C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404C0D
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404C0D#FFFFFF#000000##FFFFFF
##404C0D1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514702
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#444740
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #404c0d;
/* rgb */ color: rgb(64, 76, 13);
/* oklch */ color: oklch(39.3% 0.085 120.1);
Tailwind
colors: {
  custom: {
    50: '#777e51',
    500: '#404c0d',
    950: '#000000',
  },
}
SCSS
$custom: #404c0d;
$custom-light: #777e51;
$custom-dark: #000000;
JSON
{
  "hex": "#404c0d",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 13
  },
  "hsl": {
    "h": 71.429,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.39275,
    "c": 0.08504,
    "h": 120.1
  },
  "luminance": 0.06288
}

Semantic roles & 50–950 ramp

primary
#404C0D
secondary
#3F2E87
accent
#3AEE5C
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #404C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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