#3F450B#3F450B

#3F450B is a dark, moderate yellow. Relative luminance 0.053; OKLCH L 37.3% C 0.077 H 115.5°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#3F450B
RGBrgb(63, 69, 11)
HSLhsl(66, 73%, 16%)
HSVhsv(66, 84%, 27%)
CMYKcmyk(8.7%, 0%, 84.1%, 72.9%)
CIE-LABlab(27.67, -10.94, 31.76)
CIE-LCHlch(27.67, 33.59, 109.01°)
OKLaboklab(37.28% -0.0333 0.0699)
OKLCHoklch(37.28% 0.077 115.5)
XYZxyz(4.2385, 5.3372, 1.1235)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F450B #110B45
analogous
#452E0B #3F450B #22450B
triadic
#3F450B #0B3F45 #450B3F
tetradic
#3F450B #0B452E #110B45 #450B22
square
#3F450B #0B452E #110B45 #450B22
split-complementary
#3F450B #0B2245 #2E0B45
monochromatic
#181A04 #181A04 #3F450B #6F7A13 #9FAF1C

Accessibility & contrast

On white

10.16
#3F450B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3F450B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F450B
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F450B#FFFFFF#000000##FFFFFF
##3F450B1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4102
Deuteranopia (green-blind)
#4A4210
Tritanopia (blue-blind)
#44403A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f450b;
/* rgb */ color: rgb(63, 69, 11);
/* oklch */ color: oklch(37.3% 0.077 115.5);
Tailwind
colors: {
  custom: {
    50: '#76784f',
    500: '#3f450b',
    950: '#000000',
  },
}
SCSS
$custom: #3f450b;
$custom-light: #76784f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f450b",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 11
  },
  "hsl": {
    "h": 66.207,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.37276,
    "c": 0.07744,
    "h": 115.5
  },
  "luminance": 0.05337
}

Semantic roles & 50–950 ramp

primary
#3F450B
secondary
#332A81
accent
#39EF4B
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #3F450B

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

Preview Lab → · Contrast checker → · Palette generator →

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