#3E4708#3E4708

#3E4708 is a dark, moderate yellow. Relative luminance 0.055; OKLCH L 37.7% C 0.082 H 117.9°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#3E4708
RGBrgb(62, 71, 8)
HSLhsl(69, 80%, 15%)
HSVhsv(69, 89%, 28%)
CMYKcmyk(12.7%, 0%, 88.7%, 72.2%)
CIE-LABlab(28.24, -12.76, 33.38)
CIE-LCHlch(28.24, 35.73, 110.93°)
OKLaboklab(37.71% -0.0386 0.0727)
OKLCHoklch(37.71% 0.082 117.9)
XYZxyz(4.2838, 5.5482, 1.0749)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4708 #110847
analogous
#473008 #3E4708 #1F4708
triadic
#3E4708 #083E47 #47083E
tetradic
#3E4708 #084730 #110847 #47081F
square
#3E4708 #084730 #110847 #47081F
split-complementary
#3E4708 #081F47 #300847
monochromatic
#181C03 #181C03 #3E4708 #6E7E0E #9EB514

Accessibility & contrast

On white

9.95
#3E4708 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3E4708 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4708
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4708#FFFFFF#000000##FFFFFF
##3E47081.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#4C430E
Tritanopia (blue-blind)
#42423C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e4708;
/* rgb */ color: rgb(62, 71, 8);
/* oklch */ color: oklch(37.7% 0.082 117.9);
Tailwind
colors: {
  custom: {
    50: '#767a4e',
    500: '#3e4708',
    950: '#000000',
  },
}
SCSS
$custom: #3e4708;
$custom-light: #767a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4708",
  "rgb": {
    "r": 62,
    "g": 71,
    "b": 8
  },
  "hsl": {
    "h": 68.571,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.37705,
    "c": 0.08232,
    "h": 117.9
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#3E4708
secondary
#332685
accent
#32F64E
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #3E4708

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

Preview Lab → · Contrast checker → · Palette generator →

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