#404A0E#404A0E

#404A0E is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.7% C 0.082 H 118.8°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#404A0E
RGBrgb(64, 74, 14)
HSLhsl(70, 68%, 17%)
HSVhsv(70, 81%, 29%)
CMYKcmyk(13.5%, 0%, 81.1%, 71%)
CIE-LABlab(29.46, -13.18, 32.29)
CIE-LCHlch(29.46, 34.88, 112.21°)
OKLaboklab(38.74% -0.0393 0.0716)
OKLCHoklch(38.74% 0.082 118.8)
XYZxyz(4.6425, 6.0193, 1.3326)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404A0E #180E4A
analogous
#4A360E #404A0E #224A0E
triadic
#404A0E #0E404A #4A0E40
tetradic
#404A0E #0E4A36 #180E4A #4A0E22
square
#404A0E #0E4A36 #180E4A #4A0E22
split-complementary
#404A0E #0E224A #360E4A
monochromatic
#161A05 #161A05 #404A0E #6D7D18 #99B121

Accessibility & contrast

On white

9.53
#404A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#404A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404A0E
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404A0E#FFFFFF#000000##FFFFFF
##404A0E1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4504
Deuteranopia (green-blind)
#4E4613
Tritanopia (blue-blind)
#44453E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #404a0e;
/* rgb */ color: rgb(64, 74, 14);
/* oklch */ color: oklch(38.7% 0.082 118.8);
Tailwind
colors: {
  custom: {
    50: '#777c52',
    500: '#404a0e',
    950: '#000000',
  },
}
SCSS
$custom: #404a0e;
$custom-light: #777c52;
$custom-dark: #000000;
JSON
{
  "hex": "#404a0e",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 14
  },
  "hsl": {
    "h": 70,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.3874,
    "c": 0.08166,
    "h": 118.8
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#404A0E
secondary
#3D2F85
accent
#3DEB5A
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #404A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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