#3E4238#3E4238

#3E4238 is a dark, near-neutral yellow-green. Relative luminance 0.052; OKLCH L 37.2% C 0.017 H 125.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#3E4238
RGBrgb(62, 66, 56)
HSLhsl(84, 8%, 24%)
HSVhsv(84, 15%, 26%)
CMYKcmyk(6.1%, 0%, 15.2%, 74.1%)
CIE-LABlab(27.31, -3.85, 5.53)
CIE-LCHlch(27.31, 6.74, 124.85°)
OKLaboklab(37.2% -0.01 0.0143)
OKLCHoklch(37.2% 0.017 125)
XYZxyz(4.6485, 5.2061, 4.5006)
Luminance0.0521 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4238 #3C3842
analogous
#424138 #3E4238 #394238
triadic
#3E4238 #383E42 #42383E
tetradic
#3E4238 #384241 #3C3842 #423839
square
#3E4238 #384241 #3C3842 #423839
split-complementary
#3E4238 #383942 #413842
monochromatic
#10110E #1F211C #3E4238 #5D6354 #7C8470

Accessibility & contrast

On white

10.29
#3E4238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3E4238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4238
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4238#FFFFFF#000000##FFFFFF
##3E42381.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434137
Deuteranopia (green-blind)
#434038
Tritanopia (blue-blind)
#3F413F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e4238;
/* rgb */ color: rgb(62, 66, 56);
/* oklch */ color: oklch(37.2% 0.017 125.0);
Tailwind
colors: {
  custom: {
    50: '#73766e',
    500: '#3e4238',
    950: '#000000',
  },
}
SCSS
$custom: #3e4238;
$custom-light: #73766e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4238",
  "rgb": {
    "r": 62,
    "g": 66,
    "b": 56
  },
  "hsl": {
    "h": 84,
    "s": 8.197,
    "l": 23.922
  },
  "oklch": {
    "l": 0.372,
    "c": 0.01749,
    "h": 125
  },
  "luminance": 0.05206
}

Semantic roles & 50–950 ramp

primary
#3E4238
secondary
#6A6571
accent
#77B18E
background
#F6F7F6
surface
#ECEDEB
border
#C7C8C6
text
#080807
muted
#7B7B7A

Preview Lab

Preview with #3E4238

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

Preview Lab → · Contrast checker → · Palette generator →

#3E4238 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva