#404E15#404E15

#404E15 is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.9% C 0.082 H 122.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#404E15
RGBrgb(64, 78, 21)
HSLhsl(75, 58%, 19%)
HSVhsv(75, 73%, 31%)
CMYKcmyk(17.9%, 0%, 73.1%, 69.4%)
CIE-LABlab(30.86, -14.97, 30.62)
CIE-LCHlch(30.86, 34.08, 116.05°)
OKLaboklab(39.89% -0.0435 0.0694)
OKLCHoklch(39.89% 0.082 122.1)
XYZxyz(4.9742, 6.5929, 1.7198)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404E15 #23154E
analogous
#4E4015 #404E15 #244E15
triadic
#404E15 #15404E #4E1540
tetradic
#404E15 #154E40 #23154E #4E1524
square
#404E15 #154E40 #23154E #4E1524
split-complementary
#404E15 #15244E #40154E
monochromatic
#141806 #181E08 #404E15 #687E22 #8FAE2F

Accessibility & contrast

On white

9.06
#404E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#404E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404E15
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404E15#FFFFFF#000000##FFFFFF
##404E151.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490D
Deuteranopia (green-blind)
#514919
Tritanopia (blue-blind)
#444A42
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404e15;
/* rgb */ color: rgb(64, 78, 21);
/* oklch */ color: oklch(39.9% 0.082 122.1);
Tailwind
colors: {
  custom: {
    50: '#777f56',
    500: '#404e15',
    950: '#000000',
  },
}
SCSS
$custom: #404e15;
$custom-light: #777f56;
$custom-dark: #000000;
JSON
{
  "hex": "#404e15",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 74.737,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39886,
    "c": 0.08185,
    "h": 122.1
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

primary
#404E15
secondary
#4C3986
accent
#47E16D
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #404E15

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

Preview Lab → · Contrast checker → · Palette generator →

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