#404F38#404F38

#404F38 is a dark, muted yellow-green. Relative luminance 0.070; OKLCH L 40.8% C 0.042 H 134.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#404F38
RGBrgb(64, 79, 56)
HSLhsl(99, 17%, 26%)
HSVhsv(99, 29%, 31%)
CMYKcmyk(19%, 0%, 29.1%, 69%)
CIE-LABlab(31.73, -10.91, 11.70)
CIE-LCHlch(31.73, 15.99, 132.99°)
OKLaboklab(40.76% -0.0296 0.0296)
OKLCHoklch(40.76% 0.042 134.9)
XYZxyz(5.6240, 6.9674, 4.7892)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404F38 #47384F
analogous
#4C4F38 #404F38 #384F3C
triadic
#404F38 #38404F #4F3840
tetradic
#404F38 #384C4F #47384F #4F3C38
square
#404F38 #384C4F #47384F #4F3C38
split-complementary
#404F38 #3C384F #4F384C
monochromatic
#0F120D #232B1F #404F38 #5D7351 #7A966B

Accessibility & contrast

On white

8.77
#404F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#404F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404F38
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404F38#FFFFFF#000000##FFFFFF
##404F381.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B37
Deuteranopia (green-blind)
#4E4A39
Tritanopia (blue-blind)
#404D49
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #404f38;
/* rgb */ color: rgb(64, 79, 56);
/* oklch */ color: oklch(40.8% 0.042 134.9);
Tailwind
colors: {
  custom: {
    50: '#75806e',
    500: '#404f38',
    950: '#000000',
  },
}
SCSS
$custom: #404f38;
$custom-light: #75806e;
$custom-dark: #000000;
JSON
{
  "hex": "#404f38",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 56
  },
  "hsl": {
    "h": 99.13,
    "s": 17.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4076,
    "c": 0.04186,
    "h": 134.9
  },
  "luminance": 0.06967
}

Semantic roles & 50–950 ramp

primary
#404F38
secondary
#76647F
accent
#6EBA9F
background
#F7F7F6
surface
#EDEEEC
border
#C8C9C7
text
#080A07
muted
#7B7C7A

Preview Lab

Preview with #404F38

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

Preview Lab → · Contrast checker → · Palette generator →

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