#3F4008#3F4008

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

Color values

HEX#3F4008
RGBrgb(63, 64, 8)
HSLhsl(61, 78%, 14%)
HSVhsv(61, 88%, 25%)
CMYKcmyk(1.6%, 0%, 87.5%, 74.9%)
CIE-LABlab(25.98, -8.11, 31.39)
CIE-LCHlch(25.98, 32.42, 104.49°)
OKLaboklab(35.92% -0.0258 0.0684)
OKLCHoklch(35.92% 0.073 110.6)
XYZxyz(3.9273, 4.7412, 0.9379)
Luminance0.0474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4008 #090840
analogous
#402508 #3F4008 #234008
triadic
#3F4008 #083F40 #40083F
tetradic
#3F4008 #084025 #090840 #400823
square
#3F4008 #084025 #090840 #400823
split-complementary
#3F4008 #082340 #250840
monochromatic
#1B1B03 #1B1B03 #3F4008 #75760F #AAAD16

Accessibility & contrast

On white

10.78
#3F4008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F4008
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4008#FFFFFF#000000##FFFFFF
##3F40081.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#463E0D
Tritanopia (blue-blind)
#443B36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f4008;
/* rgb */ color: rgb(63, 64, 8);
/* oklch */ color: oklch(35.9% 0.073 110.6);
Tailwind
colors: {
  custom: {
    50: '#76744d',
    500: '#3f4008',
    950: '#000000',
  },
}
SCSS
$custom: #3f4008;
$custom-light: #76744d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4008",
  "rgb": {
    "r": 63,
    "g": 64,
    "b": 8
  },
  "hsl": {
    "h": 61.071,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.35915,
    "c": 0.07313,
    "h": 110.6
  },
  "luminance": 0.04741
}

Semantic roles & 50–950 ramp

primary
#3F4008
secondary
#27257E
accent
#34F437
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #3F4008

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

Preview Lab → · Contrast checker → · Palette generator →

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