#3F3F0C#3F3F0C

#3F3F0C is a dark, moderate yellow. Relative luminance 0.046; OKLCH L 35.7% C 0.069 H 109.4°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#3F3F0C
RGBrgb(63, 63, 12)
HSLhsl(60, 68%, 15%)
HSVhsv(60, 81%, 25%)
CMYKcmyk(0%, 0%, 81%, 75.3%)
CIE-LABlab(25.68, -7.28, 29.45)
CIE-LCHlch(25.68, 30.34, 103.89°)
OKLaboklab(35.68% -0.023 0.0652)
OKLCHoklch(35.68% 0.069 109.4)
XYZxyz(3.8939, 4.6384, 1.0379)
Luminance0.0464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3F0C #0C0C3F
analogous
#3F260C #3F3F0C #263F0C
triadic
#3F3F0C #0C3F3F #3F0C3F
tetradic
#3F3F0C #0C3F26 #0C0C3F #3F0C26
square
#3F3F0C #0C3F26 #0C0C3F #3F0C26
split-complementary
#3F3F0C #0C263F #260C3F
monochromatic
#1A1A05 #1A1A05 #3F3F0C #727216 #A6A620

Accessibility & contrast

On white

10.89
#3F3F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F3F0C
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3F0C#FFFFFF#000000##FFFFFF
##3F3F0C1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C04
Deuteranopia (green-blind)
#453E10
Tritanopia (blue-blind)
#443A35
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f3f0c;
/* rgb */ color: rgb(63, 63, 12);
/* oklch */ color: oklch(35.7% 0.069 109.4);
Tailwind
colors: {
  custom: {
    50: '#76734f',
    500: '#3f3f0c',
    950: '#000000',
  },
}
SCSS
$custom: #3f3f0c;
$custom-light: #76734f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3f0c",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 12
  },
  "hsl": {
    "h": 60,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.3568,
    "c": 0.06918,
    "h": 109.4
  },
  "luminance": 0.04638
}

Semantic roles & 50–950 ramp

primary
#3F3F0C
secondary
#2C2C7B
accent
#3DEB3D
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #3F3F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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