#404E0E#404E0E

#404E0E is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.8% C 0.087 H 121.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#404E0E
RGBrgb(64, 78, 14)
HSLhsl(73, 70%, 18%)
HSVhsv(73, 82%, 31%)
CMYKcmyk(17.9%, 0%, 82.1%, 69.4%)
CIE-LABlab(30.81, -15.44, 33.58)
CIE-LCHlch(30.81, 36.96, 114.70°)
OKLaboklab(39.83% -0.0455 0.0743)
OKLCHoklch(39.83% 0.087 121.5)
XYZxyz(4.9181, 6.5705, 1.4245)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404E0E #1C0E4E
analogous
#4E3C0E #404E0E #204E0E
triadic
#404E0E #0E404E #4E0E40
tetradic
#404E0E #0E4E3C #1C0E4E #4E0E20
square
#404E0E #0E4E3C #1C0E4E #4E0E20
split-complementary
#404E0E #0E204E #3C0E4E
monochromatic
#151A05 #151A05 #404E0E #6B8217 #95B621

Accessibility & contrast

On white

9.08
#404E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#404E0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404E0E
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404E0E#FFFFFF#000000##FFFFFF
##404E0E1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534902
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#444942
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #404e0e;
/* rgb */ color: rgb(64, 78, 14);
/* oklch */ color: oklch(39.8% 0.087 121.5);
Tailwind
colors: {
  custom: {
    50: '#777f52',
    500: '#404e0e',
    950: '#000000',
  },
}
SCSS
$custom: #404e0e;
$custom-light: #777f52;
$custom-dark: #000000;
JSON
{
  "hex": "#404e0e",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 14
  },
  "hsl": {
    "h": 73.125,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.39826,
    "c": 0.08712,
    "h": 121.5
  },
  "luminance": 0.0657
}

Semantic roles & 50–950 ramp

primary
#404E0E
secondary
#432F89
accent
#3BEC62
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #404E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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