#404236#404236

#404236 is a dark, muted yellow-green. Relative luminance 0.053; OKLCH L 37.3% C 0.020 H 115.1°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#404236
RGBrgb(64, 66, 54)
HSLhsl(70, 10%, 24%)
HSVhsv(70, 18%, 26%)
CMYKcmyk(3%, 0%, 18.2%, 74.1%)
CIE-LABlab(27.44, -3.36, 7.04)
CIE-LCHlch(27.44, 7.80, 115.55°)
OKLaboklab(37.33% -0.0085 0.0181)
OKLCHoklch(37.33% 0.02 115.1)
XYZxyz(4.7284, 5.2528, 4.2541)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404236 #383642
analogous
#423E36 #404236 #3A4236
triadic
#404236 #364042 #423640
tetradic
#404236 #36423E #383642 #42363A
square
#404236 #36423E #383642 #42363A
split-complementary
#404236 #363A42 #3E3642
monochromatic
#10110E #1F201A #404236 #616452 #81856D

Accessibility & contrast

On white

10.24
#404236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404236
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404236#FFFFFF#000000##FFFFFF
##4042361.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404236;
/* rgb */ color: rgb(64, 66, 54);
/* oklch */ color: oklch(37.3% 0.020 115.1);
Tailwind
colors: {
  custom: {
    50: '#74766d',
    500: '#404236',
    950: '#000000',
  },
}
SCSS
$custom: #404236;
$custom-light: #74766d;
$custom-dark: #000000;
JSON
{
  "hex": "#404236",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 54
  },
  "hsl": {
    "h": 70,
    "s": 10,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3733,
    "c": 0.02,
    "h": 115.1
  },
  "luminance": 0.05253
}

Semantic roles & 50–950 ramp

primary
#404236
secondary
#656271
accent
#75B37F
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080807
muted
#7B7B7A

Preview Lab

Preview with #404236

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

Preview Lab → · Contrast checker → · Palette generator →

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