#3F400B#3F400B

#3F400B is a dark, moderate yellow. Relative luminance 0.047; OKLCH L 35.9% C 0.071 H 110.6°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#3F400B
RGBrgb(63, 64, 11)
HSLhsl(61, 71%, 15%)
HSVhsv(61, 83%, 25%)
CMYKcmyk(1.6%, 0%, 82.8%, 74.9%)
CIE-LABlab(26.00, -7.95, 30.19)
CIE-LCHlch(26.00, 31.22, 104.76°)
OKLaboklab(35.94% -0.025 0.0666)
OKLCHoklch(35.94% 0.071 110.6)
XYZxyz(3.9438, 4.7478, 1.0252)
Luminance0.0475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F400B #0C0B40
analogous
#40270B #3F400B #25400B
triadic
#3F400B #0B3F40 #400B3F
tetradic
#3F400B #0B4027 #0C0B40 #400B25
square
#3F400B #0B4027 #0C0B40 #400B25
split-complementary
#3F400B #0B2540 #270B40
monochromatic
#1A1A04 #1A1A04 #3F400B #727414 #A6A81D

Accessibility & contrast

On white

10.77
#3F400B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3F400B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F400B
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F400B#FFFFFF#000000##FFFFFF
##3F400B1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D03
Deuteranopia (green-blind)
#463E0F
Tritanopia (blue-blind)
#443B36
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f400b;
/* rgb */ color: rgb(63, 64, 11);
/* oklch */ color: oklch(35.9% 0.071 110.6);
Tailwind
colors: {
  custom: {
    50: '#76744f',
    500: '#3f400b',
    950: '#000000',
  },
}
SCSS
$custom: #3f400b;
$custom-light: #76744f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f400b",
  "rgb": {
    "r": 63,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 61.132,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.35937,
    "c": 0.07111,
    "h": 110.6
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

primary
#3F400B
secondary
#2C2A7D
accent
#3AED3E
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #3F400B

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

Preview Lab → · Contrast checker → · Palette generator →

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