#3E3C08#3E3C08

#3E3C08 is a dark, moderate yellow. Relative luminance 0.043; OKLCH L 34.8% C 0.069 H 107.2°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#3E3C08
RGBrgb(62, 60, 8)
HSLhsl(58, 77%, 14%)
HSVhsv(58, 87%, 24%)
CMYKcmyk(0%, 3.2%, 87.1%, 75.7%)
CIE-LABlab(24.56, -6.18, 30.00)
CIE-LCHlch(24.56, 30.63, 101.63°)
OKLaboklab(34.75% -0.0203 0.0657)
OKLCHoklch(34.75% 0.069 107.2)
XYZxyz(3.6464, 4.2735, 0.8625)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3C08 #080A3E
analogous
#3E2108 #3E3C08 #253E08
triadic
#3E3C08 #083E3C #3C083E
tetradic
#3E3C08 #083E21 #080A3E #3E0825
square
#3E3C08 #083E21 #080A3E #3E0825
split-complementary
#3E3C08 #08253E #21083E
monochromatic
#1B1A03 #1B1A03 #3E3C08 #74700F #AAA516

Accessibility & contrast

On white

11.32
#3E3C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3E3C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3C08
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3C08#FFFFFF#000000##FFFFFF
##3E3C081.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423901
Deuteranopia (green-blind)
#433B0C
Tritanopia (blue-blind)
#433732
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e3c08;
/* rgb */ color: rgb(62, 60, 8);
/* oklch */ color: oklch(34.8% 0.069 107.2);
Tailwind
colors: {
  custom: {
    50: '#76714c',
    500: '#3e3c08',
    950: '#000000',
  },
}
SCSS
$custom: #3e3c08;
$custom-light: #76714c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3c08",
  "rgb": {
    "r": 62,
    "g": 60,
    "b": 8
  },
  "hsl": {
    "h": 57.778,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.3475,
    "c": 0.06872,
    "h": 107.2
  },
  "luminance": 0.04273
}

Semantic roles & 50–950 ramp

primary
#3E3C08
secondary
#25287D
accent
#3BF434
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #3E3C08

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

Preview Lab → · Contrast checker → · Palette generator →

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