#3E3F08#3E3F08

#3E3F08 is a dark, moderate yellow. Relative luminance 0.046; OKLCH L 35.5% C 0.072 H 110.7°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#3E3F08
RGBrgb(62, 63, 8)
HSLhsl(61, 77%, 14%)
HSVhsv(61, 87%, 25%)
CMYKcmyk(1.6%, 0%, 87.3%, 75.3%)
CIE-LABlab(25.55, -8.02, 30.95)
CIE-LCHlch(25.55, 31.97, 104.53°)
OKLaboklab(35.55% -0.0255 0.0676)
OKLCHoklch(35.55% 0.072 110.7)
XYZxyz(3.8081, 4.5968, 0.9164)
Luminance0.0460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3F08 #09083F
analogous
#3F2508 #3E3F08 #233F08
triadic
#3E3F08 #083E3F #3F083E
tetradic
#3E3F08 #083F25 #09083F #3F0823
square
#3E3F08 #083F25 #09083F #3F0823
split-complementary
#3E3F08 #08233F #25083F
monochromatic
#1B1B03 #1B1B03 #3E3F08 #73750F #A9AC16

Accessibility & contrast

On white

10.94
#3E3F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3E3F08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3F08
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3F08#FFFFFF#000000##FFFFFF
##3E3F081.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#453D0D
Tritanopia (blue-blind)
#433A35
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e3f08;
/* rgb */ color: rgb(62, 63, 8);
/* oklch */ color: oklch(35.5% 0.072 110.7);
Tailwind
colors: {
  custom: {
    50: '#76734d',
    500: '#3e3f08',
    950: '#000000',
  },
}
SCSS
$custom: #3e3f08;
$custom-light: #76734d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3f08",
  "rgb": {
    "r": 62,
    "g": 63,
    "b": 8
  },
  "hsl": {
    "h": 61.091,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.35547,
    "c": 0.07222,
    "h": 110.7
  },
  "luminance": 0.04597
}

Semantic roles & 50–950 ramp

primary
#3E3F08
secondary
#27257E
accent
#34F437
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #3E3F08

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

Preview Lab → · Contrast checker → · Palette generator →

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