#3E460C#3E460C

#3E460C is a dark, moderate yellow. Relative luminance 0.054; OKLCH L 37.5% C 0.079 H 117.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#3E460C
RGBrgb(62, 70, 12)
HSLhsl(68, 71%, 16%)
HSVhsv(68, 83%, 27%)
CMYKcmyk(11.4%, 0%, 82.9%, 72.5%)
CIE-LABlab(27.93, -11.98, 31.57)
CIE-LCHlch(27.93, 33.77, 110.77°)
OKLaboklab(37.46% -0.036 0.0698)
OKLCHoklch(37.46% 0.079 117.3)
XYZxyz(4.2432, 5.4310, 1.1725)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E460C #140C46
analogous
#46310C #3E460C #21460C
triadic
#3E460C #0C3E46 #460C3E
tetradic
#3E460C #0C4631 #140C46 #460C21
square
#3E460C #0C4631 #140C46 #460C21
split-complementary
#3E460C #0C2146 #310C46
monochromatic
#171A04 #171A04 #3E460C #6C7A15 #9BAE1E

Accessibility & contrast

On white

10.07
#3E460C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3E460C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E460C
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E460C#FFFFFF#000000##FFFFFF
##3E460C1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4202
Deuteranopia (green-blind)
#4B4211
Tritanopia (blue-blind)
#42423B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e460c;
/* rgb */ color: rgb(62, 70, 12);
/* oklch */ color: oklch(37.5% 0.079 117.3);
Tailwind
colors: {
  custom: {
    50: '#757950',
    500: '#3e460c',
    950: '#000000',
  },
}
SCSS
$custom: #3e460c;
$custom-light: #757950;
$custom-dark: #000000;
JSON
{
  "hex": "#3e460c",
  "rgb": {
    "r": 62,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 68.276,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.3746,
    "c": 0.0785,
    "h": 117.3
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#3E460C
secondary
#382C82
accent
#3AED53
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #3E460C

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

Preview Lab → · Contrast checker → · Palette generator →

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