#3E4108#3E4108

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

Color values

HEX#3E4108
RGBrgb(62, 65, 8)
HSLhsl(63, 78%, 14%)
HSVhsv(63, 88%, 25%)
CMYKcmyk(4.6%, 0%, 87.7%, 74.5%)
CIE-LABlab(26.22, -9.23, 31.57)
CIE-LCHlch(26.22, 32.89, 106.30°)
OKLaboklab(36.08% -0.0288 0.0689)
OKLCHoklch(36.08% 0.075 112.7)
XYZxyz(3.9209, 4.8224, 0.9539)
Luminance0.0482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4108 #0B0841
analogous
#412808 #3E4108 #224108
triadic
#3E4108 #083E41 #41083E
tetradic
#3E4108 #084128 #0B0841 #410822
square
#3E4108 #084128 #0B0841 #410822
split-complementary
#3E4108 #082241 #280841
monochromatic
#1A1B03 #1A1B03 #3E4108 #72770F #A6AE15

Accessibility & contrast

On white

10.69
#3E4108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E4108
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4108#FFFFFF#000000##FFFFFF
##3E41081.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e4108;
/* rgb */ color: rgb(62, 65, 8);
/* oklch */ color: oklch(36.1% 0.075 112.7);
Tailwind
colors: {
  custom: {
    50: '#76754d',
    500: '#3e4108',
    950: '#000000',
  },
}
SCSS
$custom: #3e4108;
$custom-light: #76754d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4108",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 8
  },
  "hsl": {
    "h": 63.158,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.36083,
    "c": 0.07466,
    "h": 112.7
  },
  "luminance": 0.04822
}

Semantic roles & 50–950 ramp

primary
#3E4108
secondary
#2A257F
accent
#33F53D
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #3E4108

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

Preview Lab → · Contrast checker → · Palette generator →

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