#404B0F#404B0F

#404B0F is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 39.0% C 0.082 H 119.5°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#404B0F
RGBrgb(64, 75, 15)
HSLhsl(71, 67%, 18%)
HSVhsv(71, 80%, 29%)
CMYKcmyk(14.7%, 0%, 80%, 70.6%)
CIE-LABlab(29.80, -13.69, 32.21)
CIE-LCHlch(29.80, 35.00, 113.03°)
OKLaboklab(39.02% -0.0406 0.0716)
OKLCHoklch(39.02% 0.082 119.5)
XYZxyz(4.7167, 6.1567, 1.3917)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404B0F #1A0F4B
analogous
#4B380F #404B0F #224B0F
triadic
#404B0F #0F404B #4B0F40
tetradic
#404B0F #0F4B38 #1A0F4B #4B0F22
square
#404B0F #0F4B38 #1A0F4B #4B0F22
split-complementary
#404B0F #0F224B #380F4B
monochromatic
#161A05 #161A05 #404B0F #6C7E19 #97B123

Accessibility & contrast

On white

9.41
#404B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#404B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404B0F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404B0F#FFFFFF#000000##FFFFFF
##404B0F1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504605
Deuteranopia (green-blind)
#4F4614
Tritanopia (blue-blind)
#44473F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #404b0f;
/* rgb */ color: rgb(64, 75, 15);
/* oklch */ color: oklch(39.0% 0.082 119.5);
Tailwind
colors: {
  custom: {
    50: '#777d52',
    500: '#404b0f',
    950: '#000000',
  },
}
SCSS
$custom: #404b0f;
$custom-light: #777d52;
$custom-dark: #000000;
JSON
{
  "hex": "#404b0f",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 71,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.39018,
    "c": 0.08232,
    "h": 119.5
  },
  "luminance": 0.06157
}

Semantic roles & 50–950 ramp

primary
#404B0F
secondary
#403085
accent
#3EEA5E
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #404B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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