#3E4112#3E4112

#3E4112 is a dark, moderate yellow. Relative luminance 0.048; OKLCH L 36.2% C 0.067 H 112.8°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#3E4112
RGBrgb(62, 65, 18)
HSLhsl(64, 57%, 16%)
HSVhsv(64, 72%, 25%)
CMYKcmyk(4.6%, 0%, 72.3%, 74.5%)
CIE-LABlab(26.30, -8.60, 27.24)
CIE-LCHlch(26.30, 28.57, 107.53°)
OKLaboklab(36.17% -0.0259 0.0618)
OKLCHoklch(36.17% 0.067 112.8)
XYZxyz(3.9862, 4.8485, 1.2980)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4112 #151241
analogous
#412D12 #3E4112 #274112
triadic
#3E4112 #123E41 #41123E
tetradic
#3E4112 #12412D #151241 #411227
square
#3E4112 #12412D #151241 #411227
split-complementary
#3E4112 #122741 #2D1241
monochromatic
#171807 #171807 #3E4112 #6C711F #99A12D

Accessibility & contrast

On white

10.66
#3E4112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3E4112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4112
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4112#FFFFFF#000000##FFFFFF
##3E41121.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E0C
Deuteranopia (green-blind)
#463F15
Tritanopia (blue-blind)
#433D37
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e4112;
/* rgb */ color: rgb(62, 65, 18);
/* oklch */ color: oklch(36.2% 0.067 112.8);
Tailwind
colors: {
  custom: {
    50: '#757553',
    500: '#3e4112',
    950: '#000000',
  },
}
SCSS
$custom: #3e4112;
$custom-light: #757553;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4112",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 18
  },
  "hsl": {
    "h": 63.83,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.36168,
    "c": 0.067,
    "h": 112.8
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#3E4112
secondary
#39357A
accent
#48E052
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3E4112

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

Preview Lab → · Contrast checker → · Palette generator →

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