#404237#404237

#404237 is a dark, near-neutral yellow-green. Relative luminance 0.053; OKLCH L 37.4% C 0.018 H 115.7°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#404237
RGBrgb(64, 66, 55)
HSLhsl(71, 9%, 24%)
HSVhsv(71, 17%, 26%)
CMYKcmyk(3%, 0%, 16.7%, 74.1%)
CIE-LABlab(27.47, -3.17, 6.42)
CIE-LCHlch(27.47, 7.16, 116.26°)
OKLaboklab(37.36% -0.008 0.0166)
OKLCHoklch(37.36% 0.018 115.7)
XYZxyz(4.7521, 5.2623, 4.3791)
Luminance0.0526 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404237 #393742
analogous
#423E37 #404237 #3A4237
triadic
#404237 #374042 #423740
tetradic
#404237 #37423E #393742 #42373A
square
#404237 #37423E #393742 #42373A
split-complementary
#404237 #373A42 #3E3742
monochromatic
#10110E #20211B #404237 #606353 #81856F

Accessibility & contrast

On white

10.23
#404237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#404237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404237
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404237#FFFFFF#000000##FFFFFF
##4042371.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444136
Deuteranopia (green-blind)
#444137
Tritanopia (blue-blind)
#41413F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #404237;
/* rgb */ color: rgb(64, 66, 55);
/* oklch */ color: oklch(37.4% 0.018 115.7);
Tailwind
colors: {
  custom: {
    50: '#74766d',
    500: '#404237',
    950: '#000000',
  },
}
SCSS
$custom: #404237;
$custom-light: #74766d;
$custom-dark: #000000;
JSON
{
  "hex": "#404237",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 55
  },
  "hsl": {
    "h": 70.909,
    "s": 9.091,
    "l": 23.725
  },
  "oklch": {
    "l": 0.37359,
    "c": 0.01841,
    "h": 115.7
  },
  "luminance": 0.05262
}

Semantic roles & 50–950 ramp

primary
#404237
secondary
#666471
accent
#76B281
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080807
muted
#7B7B7A

Preview Lab

Preview with #404237

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

Preview Lab → · Contrast checker → · Palette generator →

#404237 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva