#404F2D#404F2D

#404F2D is a dark, muted yellow-green. Relative luminance 0.069; OKLCH L 40.5% C 0.057 H 128.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#404F2D
RGBrgb(64, 79, 45)
HSLhsl(86, 27%, 24%)
HSVhsv(86, 43%, 31%)
CMYKcmyk(19%, 0%, 43%, 69%)
CIE-LABlab(31.51, -12.77, 18.18)
CIE-LCHlch(31.51, 22.21, 125.09°)
OKLaboklab(40.51% -0.035 0.0447)
OKLCHoklch(40.51% 0.057 128.1)
XYZxyz(5.3839, 6.8713, 3.5248)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404F2D #3C2D4F
analogous
#4F4D2D #404F2D #2F4F2D
triadic
#404F2D #2D404F #4F2D40
tetradic
#404F2D #2D4F4D #3C2D4F #4F2D2F
square
#404F2D #2D4F4D #3C2D4F #4F2D2F
split-complementary
#404F2D #2D2F4F #4D2D4F
monochromatic
#10130B #202817 #404F2D #607643 #7F9D59

Accessibility & contrast

On white

8.85
#404F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#404F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404F2D
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404F2D#FFFFFF#000000##FFFFFF
##404F2D1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2A
Deuteranopia (green-blind)
#504A2F
Tritanopia (blue-blind)
#424C47
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #404f2d;
/* rgb */ color: rgb(64, 79, 45);
/* oklch */ color: oklch(40.5% 0.057 128.1);
Tailwind
colors: {
  custom: {
    50: '#758066',
    500: '#404f2d',
    950: '#000000',
  },
}
SCSS
$custom: #404f2d;
$custom-light: #758066;
$custom-dark: #000000;
JSON
{
  "hex": "#404f2d",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 45
  },
  "hsl": {
    "h": 86.471,
    "s": 27.419,
    "l": 24.314
  },
  "oklch": {
    "l": 0.40512,
    "c": 0.05676,
    "h": 128.1
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#404F2D
secondary
#695781
accent
#64C48E
background
#F7F7F6
surface
#EDEEEB
border
#C8C9C6
text
#080A06
muted
#7B7C7A

Preview Lab

Preview with #404F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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