#404C15#404C15

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

Color values

HEX#404C15
RGBrgb(64, 76, 21)
HSLhsl(73, 57%, 19%)
HSVhsv(73, 72%, 30%)
CMYKcmyk(15.8%, 0%, 72.4%, 70.2%)
CIE-LABlab(30.19, -13.84, 29.91)
CIE-LCHlch(30.19, 32.96, 114.82°)
OKLaboklab(39.34% -0.0403 0.0679)
OKLCHoklch(39.34% 0.079 120.7)
XYZxyz(4.8342, 6.3130, 1.6732)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404C15 #21154C
analogous
#4C3D15 #404C15 #254C15
triadic
#404C15 #15404C #4C1540
tetradic
#404C15 #154C3D #21154C #4C1525
square
#404C15 #154C3D #21154C #4C1525
split-complementary
#404C15 #15254C #3D154C
monochromatic
#141807 #181C08 #404C15 #687C22 #91AC2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404C15#FFFFFF#000000##FFFFFF
##404C151.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)
#51470E
Deuteranopia (green-blind)
#504719
Tritanopia (blue-blind)
#444841
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #404c15;
/* rgb */ color: rgb(64, 76, 21);
/* oklch */ color: oklch(39.3% 0.079 120.7);
Tailwind
colors: {
  custom: {
    50: '#777e56',
    500: '#404c15',
    950: '#000000',
  },
}
SCSS
$custom: #404c15;
$custom-light: #777e56;
$custom-dark: #000000;
JSON
{
  "hex": "#404c15",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 21
  },
  "hsl": {
    "h": 73.091,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39344,
    "c": 0.07896,
    "h": 120.7
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#404C15
secondary
#493984
accent
#48E069
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404C15

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

Preview Lab → · Contrast checker → · Palette generator →

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