#3F4811#3F4811

#3F4811 is a dark, moderate yellow. Relative luminance 0.057; OKLCH L 38.1% C 0.077 H 118.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#3F4811
RGBrgb(63, 72, 17)
HSLhsl(70, 62%, 17%)
HSVhsv(70, 76%, 28%)
CMYKcmyk(12.5%, 0%, 76.4%, 71.8%)
CIE-LABlab(28.73, -12.33, 30.25)
CIE-LCHlch(28.73, 32.66, 112.17°)
OKLaboklab(38.13% -0.0365 0.0679)
OKLCHoklch(38.13% 0.077 118.3)
XYZxyz(4.4685, 5.7320, 1.4012)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4811 #1A1148
analogous
#483511 #3F4811 #244811
triadic
#3F4811 #113F48 #48113F
tetradic
#3F4811 #114835 #1A1148 #481124
square
#3F4811 #114835 #1A1148 #481124
split-complementary
#3F4811 #112448 #351148
monochromatic
#161906 #161906 #3F4811 #6A7A1D #96AB28

Accessibility & contrast

On white

9.78
#3F4811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3F4811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4811
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4811#FFFFFF#000000##FFFFFF
##3F48111.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4409
Deuteranopia (green-blind)
#4C4415
Tritanopia (blue-blind)
#43443D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f4811;
/* rgb */ color: rgb(63, 72, 17);
/* oklch */ color: oklch(38.1% 0.077 118.3);
Tailwind
colors: {
  custom: {
    50: '#767a53',
    500: '#3f4811',
    950: '#000000',
  },
}
SCSS
$custom: #3f4811;
$custom-light: #767a53;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4811",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 17
  },
  "hsl": {
    "h": 69.818,
    "s": 61.798,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38134,
    "c": 0.0771,
    "h": 118.3
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#3F4811
secondary
#403382
accent
#43E55D
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #3F4811

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

Preview Lab → · Contrast checker → · Palette generator →

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