#3E4104#3E4104

#3E4104 is a dark, moderate yellow. Relative luminance 0.048; OKLCH L 36.1% C 0.077 H 112.7°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#3E4104
RGBrgb(62, 65, 4)
HSLhsl(63, 88%, 14%)
HSVhsv(63, 94%, 25%)
CMYKcmyk(4.6%, 0%, 93.8%, 74.5%)
CIE-LABlab(26.20, -9.44, 33.17)
CIE-LCHlch(26.20, 34.49, 105.89°)
OKLaboklab(36.05% -0.0299 0.0714)
OKLCHoklch(36.05% 0.077 112.7)
XYZxyz(3.8990, 4.8136, 0.8386)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4104 #070441
analogous
#412504 #3E4104 #1F4104
triadic
#3E4104 #043E41 #41043E
tetradic
#3E4104 #044125 #070441 #41041F
square
#3E4104 #044125 #070441 #41041F
split-complementary
#3E4104 #041F41 #250441
monochromatic
#1B1D02 #1B1D02 #3E4104 #757B08 #ACB40B

Accessibility & contrast

On white

10.70
#3E4104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3E4104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4104
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4104#FFFFFF#000000##FFFFFF
##3E41041.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473D00
Deuteranopia (green-blind)
#473F09
Tritanopia (blue-blind)
#433C36
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e4104;
/* rgb */ color: rgb(62, 65, 4);
/* oklch */ color: oklch(36.1% 0.077 112.7);
Tailwind
colors: {
  custom: {
    50: '#76754b',
    500: '#3e4104',
    950: '#000000',
  },
}
SCSS
$custom: #3e4104;
$custom-light: #76754b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4104",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 4
  },
  "hsl": {
    "h": 62.951,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.36054,
    "c": 0.07736,
    "h": 112.7
  },
  "luminance": 0.04813
}

Semantic roles & 50–950 ramp

primary
#3E4104
secondary
#241F82
accent
#29FF34
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #3E4104

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

Preview Lab → · Contrast checker → · Palette generator →

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