#404E0F#404E0F

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

Color values

HEX#404E0F
RGBrgb(64, 78, 15)
HSLhsl(73, 68%, 18%)
HSVhsv(73, 81%, 31%)
CMYKcmyk(17.9%, 0%, 80.8%, 69.4%)
CIE-LABlab(30.82, -15.38, 33.19)
CIE-LCHlch(30.82, 36.58, 114.87°)
OKLaboklab(39.83% -0.0452 0.0737)
OKLCHoklch(39.83% 0.086 121.6)
XYZxyz(4.9250, 6.5733, 1.4611)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404E0F #1D0F4E
analogous
#4E3C0F #404E0F #204E0F
triadic
#404E0F #0F404E #4E0F40
tetradic
#404E0F #0F4E3C #1D0F4E #4E0F20
square
#404E0F #0F4E3C #1D0F4E #4E0F20
split-complementary
#404E0F #0F204E #3C0F4E
monochromatic
#151A05 #161B05 #404E0F #6A8119 #94B523

Accessibility & contrast

On white

9.07
#404E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404E0F
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404E0F#FFFFFF#000000##FFFFFF
##404E0F1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534904
Deuteranopia (green-blind)
#514915
Tritanopia (blue-blind)
#444A42
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404e0f;
/* rgb */ color: rgb(64, 78, 15);
/* oklch */ color: oklch(39.8% 0.086 121.6);
Tailwind
colors: {
  custom: {
    50: '#777f53',
    500: '#404e0f',
    950: '#000000',
  },
}
SCSS
$custom: #404e0f;
$custom-light: #777f53;
$custom-dark: #000000;
JSON
{
  "hex": "#404e0f",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 15
  },
  "hsl": {
    "h": 73.333,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39833,
    "c": 0.08646,
    "h": 121.6
  },
  "luminance": 0.06573
}

Semantic roles & 50–950 ramp

primary
#404E0F
secondary
#443188
accent
#3DEB64
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #404E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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