#404A0F#404A0F

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

Color values

HEX#404A0F
RGBrgb(64, 74, 15)
HSLhsl(70, 66%, 17%)
HSVhsv(70, 80%, 29%)
CMYKcmyk(13.5%, 0%, 79.7%, 71%)
CIE-LABlab(29.47, -13.12, 31.88)
CIE-LCHlch(29.47, 34.48, 112.37°)
OKLaboklab(38.75% -0.039 0.0709)
OKLCHoklch(38.75% 0.081 118.8)
XYZxyz(4.6495, 6.0221, 1.3693)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404A0F #190F4A
analogous
#4A360F #404A0F #234A0F
triadic
#404A0F #0F404A #4A0F40
tetradic
#404A0F #0F4A36 #190F4A #4A0F23
square
#404A0F #0F4A36 #190F4A #4A0F23
split-complementary
#404A0F #0F234A #360F4A
monochromatic
#161905 #161905 #404A0F #6C7D19 #98B024

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404A0F#FFFFFF#000000##FFFFFF
##404A0F1.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)
#4F4505
Deuteranopia (green-blind)
#4E4614
Tritanopia (blue-blind)
#44463F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #404a0f;
/* rgb */ color: rgb(64, 74, 15);
/* oklch */ color: oklch(38.7% 0.081 118.8);
Tailwind
colors: {
  custom: {
    50: '#777c52',
    500: '#404a0f',
    950: '#000000',
  },
}
SCSS
$custom: #404a0f;
$custom-light: #777c52;
$custom-dark: #000000;
JSON
{
  "hex": "#404a0f",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 70.169,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38748,
    "c": 0.08094,
    "h": 118.8
  },
  "luminance": 0.06022
}

Semantic roles & 50–950 ramp

primary
#404A0F
secondary
#3F3084
accent
#3FE95C
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #404A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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