#404A27#404A27

#404A27 is a dark, muted yellow-green. Relative luminance 0.061; OKLCH L 39.1% C 0.056 H 122.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#404A27
RGBrgb(64, 74, 39)
HSLhsl(77, 31%, 22%)
HSVhsv(77, 47%, 29%)
CMYKcmyk(13.5%, 0%, 47.3%, 71%)
CIE-LABlab(29.75, -10.73, 19.54)
CIE-LCHlch(29.75, 22.29, 118.77°)
OKLaboklab(39.06% -0.0297 0.0474)
OKLCHoklch(39.06% 0.056 122.1)
XYZxyz(4.9293, 6.1340, 2.8434)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404A27 #31274A
analogous
#4A4327 #404A27 #2F4A27
triadic
#404A27 #27404A #4A2740
tetradic
#404A27 #274A43 #31274A #4A272F
square
#404A27 #274A43 #31274A #4A272F
split-complementary
#404A27 #272F4A #43274A
monochromatic
#11140B #1D2212 #404A27 #63723C #859A51

Accessibility & contrast

On white

9.43
#404A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404A27
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404A27#FFFFFF#000000##FFFFFF
##404A271.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4624
Deuteranopia (green-blind)
#4C4629
Tritanopia (blue-blind)
#434742
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #404a27;
/* rgb */ color: rgb(64, 74, 39);
/* oklch */ color: oklch(39.1% 0.056 122.1);
Tailwind
colors: {
  custom: {
    50: '#757c62',
    500: '#404a27',
    950: '#000000',
  },
}
SCSS
$custom: #404a27;
$custom-light: #757c62;
$custom-dark: #000000;
JSON
{
  "hex": "#404a27",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 39
  },
  "hsl": {
    "h": 77.143,
    "s": 30.973,
    "l": 22.157
  },
  "oklch": {
    "l": 0.39063,
    "c": 0.05598,
    "h": 122.1
  },
  "luminance": 0.06134
}

Semantic roles & 50–950 ramp

primary
#404A27
secondary
#5D507D
accent
#61C77E
background
#F7F7F5
surface
#EDEEEA
border
#C8C9C6
text
#080905
muted
#7B7B79

Preview Lab

Preview with #404A27

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

Preview Lab → · Contrast checker → · Palette generator →

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