#404B15#404B15

#404B15 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 39.1% C 0.078 H 120.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#404B15
RGBrgb(64, 75, 21)
HSLhsl(72, 56%, 19%)
HSVhsv(72, 72%, 29%)
CMYKcmyk(14.7%, 0%, 72%, 70.6%)
CIE-LABlab(29.85, -13.27, 29.56)
CIE-LCHlch(29.85, 32.40, 114.17°)
OKLaboklab(39.07% -0.0387 0.0671)
OKLCHoklch(39.07% 0.078 120)
XYZxyz(4.7659, 6.1763, 1.6504)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404B15 #20154B
analogous
#4B3B15 #404B15 #254B15
triadic
#404B15 #15404B #4B1540
tetradic
#404B15 #154B3B #20154B #4B1525
square
#404B15 #154B3B #20154B #4B1525
split-complementary
#404B15 #15254B #3B154B
monochromatic
#141807 #171B08 #404B15 #697B22 #92AB30

Accessibility & contrast

On white

9.40
#404B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#404B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404B15
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404B15#FFFFFF#000000##FFFFFF
##404B151.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460E
Deuteranopia (green-blind)
#4F4619
Tritanopia (blue-blind)
#444740
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #404b15;
/* rgb */ color: rgb(64, 75, 21);
/* oklch */ color: oklch(39.1% 0.078 120.0);
Tailwind
colors: {
  custom: {
    50: '#777d56',
    500: '#404b15',
    950: '#000000',
  },
}
SCSS
$custom: #404b15;
$custom-light: #777d56;
$custom-dark: #000000;
JSON
{
  "hex": "#404b15",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 21
  },
  "hsl": {
    "h": 72.222,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39073,
    "c": 0.07752,
    "h": 120
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#404B15
secondary
#483983
accent
#48E067
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404B15

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

Preview Lab → · Contrast checker → · Palette generator →

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