#3E3908#3E3908

#3E3908 is a dark, moderate yellow. Relative luminance 0.040; OKLCH L 34.0% C 0.065 H 103.3°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#3E3908
RGBrgb(62, 57, 8)
HSLhsl(54, 77%, 14%)
HSVhsv(54, 87%, 24%)
CMYKcmyk(0%, 8.1%, 87.1%, 75.7%)
CIE-LABlab(23.57, -4.30, 29.02)
CIE-LCHlch(23.57, 29.34, 98.42°)
OKLaboklab(33.96% -0.015 0.0637)
OKLCHoklch(33.96% 0.065 103.3)
XYZxyz(3.4937, 3.9681, 0.8116)
Luminance0.0397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3908 #080D3E
analogous
#3E1E08 #3E3908 #283E08
triadic
#3E3908 #083E39 #39083E
tetradic
#3E3908 #083E1E #080D3E #3E0828
square
#3E3908 #083E1E #080D3E #3E0828
split-complementary
#3E3908 #08283E #1E083E
monochromatic
#1B1903 #1B1903 #3E3908 #746B0F #AA9D16

Accessibility & contrast

On white

11.71
#3E3908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3E3908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3908
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3908#FFFFFF#000000##FFFFFF
##3E39081.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3701
Deuteranopia (green-blind)
#41390C
Tritanopia (blue-blind)
#433430
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3e3908;
/* rgb */ color: rgb(62, 57, 8);
/* oklch */ color: oklch(34.0% 0.065 103.3);
Tailwind
colors: {
  custom: {
    50: '#766f4c',
    500: '#3e3908',
    950: '#000000',
  },
}
SCSS
$custom: #3e3908;
$custom-light: #766f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3908",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 8
  },
  "hsl": {
    "h": 54.444,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33962,
    "c": 0.06546,
    "h": 103.3
  },
  "luminance": 0.03968
}

Semantic roles & 50–950 ramp

primary
#3E3908
secondary
#252D7D
accent
#46F434
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #3E3908

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

Preview Lab → · Contrast checker → · Palette generator →

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