#3F3F08#3F3F08

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

Color values

HEX#3F3F08
RGBrgb(63, 63, 8)
HSLhsl(60, 77%, 14%)
HSVhsv(60, 87%, 25%)
CMYKcmyk(0%, 0%, 87.3%, 75.3%)
CIE-LABlab(25.65, -7.50, 31.08)
CIE-LCHlch(25.65, 31.97, 103.57°)
OKLaboklab(35.65% -0.0241 0.0678)
OKLCHoklch(35.65% 0.072 109.6)
XYZxyz(3.8714, 4.6294, 0.9193)
Luminance0.0463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3F08 #08083F
analogous
#3F2408 #3F3F08 #243F08
triadic
#3F3F08 #083F3F #3F083F
tetradic
#3F3F08 #083F24 #08083F #3F0824
square
#3F3F08 #083F24 #08083F #3F0824
split-complementary
#3F3F08 #08243F #24083F
monochromatic
#1B1B03 #1B1B03 #3F3F08 #75750F #ACAC16

Accessibility & contrast

On white

10.90
#3F3F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3F3F08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3F08
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3F08#FFFFFF#000000##FFFFFF
##3F3F081.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#463E0D
Tritanopia (blue-blind)
#443A35
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f3f08;
/* rgb */ color: rgb(63, 63, 8);
/* oklch */ color: oklch(35.6% 0.072 109.6);
Tailwind
colors: {
  custom: {
    50: '#76734d',
    500: '#3f3f08',
    950: '#000000',
  },
}
SCSS
$custom: #3f3f08;
$custom-light: #76734d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3f08",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 8
  },
  "hsl": {
    "h": 60,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.3565,
    "c": 0.07195,
    "h": 109.6
  },
  "luminance": 0.04629
}

Semantic roles & 50–950 ramp

primary
#3F3F08
secondary
#25257E
accent
#34F434
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #3F3F08

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

Preview Lab → · Contrast checker → · Palette generator →

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