#404B28#404B28

#404B28 is a dark, muted yellow-green. Relative luminance 0.063; OKLCH L 39.3% C 0.056 H 123.2°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#404B28
RGBrgb(64, 75, 40)
HSLhsl(79, 30%, 23%)
HSVhsv(79, 47%, 29%)
CMYKcmyk(14.7%, 0%, 46.7%, 70.6%)
CIE-LABlab(30.10, -11.18, 19.38)
CIE-LCHlch(30.10, 22.37, 119.98°)
OKLaboklab(39.35% -0.0309 0.0471)
OKLCHoklch(39.35% 0.056 123.2)
XYZxyz(5.0134, 6.2753, 2.9542)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404B28 #33284B
analogous
#4B4428 #404B28 #2E4B28
triadic
#404B28 #28404B #4B2840
tetradic
#404B28 #284B44 #33284B #4B282E
square
#404B28 #284B44 #33284B #4B282E
split-complementary
#404B28 #282E4B #44284B
monochromatic
#11140B #1E2313 #404B28 #62733D #849B53

Accessibility & contrast

On white

9.31
#404B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#404B28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404B28
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404B28#FFFFFF#000000##FFFFFF
##404B281.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4725
Deuteranopia (green-blind)
#4D472A
Tritanopia (blue-blind)
#424843
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #404b28;
/* rgb */ color: rgb(64, 75, 40);
/* oklch */ color: oklch(39.3% 0.056 123.2);
Tailwind
colors: {
  custom: {
    50: '#757d62',
    500: '#404b28',
    950: '#000000',
  },
}
SCSS
$custom: #404b28;
$custom-light: #757d62;
$custom-dark: #000000;
JSON
{
  "hex": "#404b28",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 40
  },
  "hsl": {
    "h": 78.857,
    "s": 30.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.39348,
    "c": 0.05636,
    "h": 123.2
  },
  "luminance": 0.06275
}

Semantic roles & 50–950 ramp

primary
#404B28
secondary
#5F517D
accent
#61C781
background
#F7F7F5
surface
#EDEEEA
border
#C8C9C6
text
#080905
muted
#7B7B79

Preview Lab

Preview with #404B28

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

Preview Lab → · Contrast checker → · Palette generator →

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