#3F460F#3F460F

#3F460F is a dark, moderate yellow. Relative luminance 0.055; OKLCH L 37.6% C 0.076 H 116.5°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#3F460F
RGBrgb(63, 70, 15)
HSLhsl(68, 65%, 17%)
HSVhsv(68, 79%, 27%)
CMYKcmyk(10%, 0%, 78.6%, 72.5%)
CIE-LABlab(28.04, -11.29, 30.45)
CIE-LCHlch(28.04, 32.48, 110.35°)
OKLaboklab(37.58% -0.0339 0.068)
OKLCHoklch(37.58% 0.076 116.5)
XYZxyz(4.3264, 5.4716, 1.2801)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F460F #160F46
analogous
#46320F #3F460F #24460F
triadic
#3F460F #0F3F46 #460F3F
tetradic
#3F460F #0F4632 #160F46 #460F24
square
#3F460F #0F4632 #160F46 #460F24
split-complementary
#3F460F #0F2446 #320F46
monochromatic
#171905 #171905 #3F460F #6C781A #9AAB25

Accessibility & contrast

On white

10.03
#3F460F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3F460F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F460F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F460F#FFFFFF#000000##FFFFFF
##3F460F1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4206
Deuteranopia (green-blind)
#4B4313
Tritanopia (blue-blind)
#43423B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f460f;
/* rgb */ color: rgb(63, 70, 15);
/* oklch */ color: oklch(37.6% 0.076 116.5);
Tailwind
colors: {
  custom: {
    50: '#767951',
    500: '#3f460f',
    950: '#000000',
  },
}
SCSS
$custom: #3f460f;
$custom-light: #767951;
$custom-dark: #000000;
JSON
{
  "hex": "#3f460f",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 67.636,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37577,
    "c": 0.07593,
    "h": 116.5
  },
  "luminance": 0.05472
}

Semantic roles & 50–950 ramp

primary
#3F460F
secondary
#3B3080
accent
#40E855
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #3F460F

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

Preview Lab → · Contrast checker → · Palette generator →

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