#3F420C#3F420C

#3F420C is a dark, moderate yellow. Relative luminance 0.050; OKLCH L 36.5% C 0.073 H 112.7°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#3F420C
RGBrgb(63, 66, 12)
HSLhsl(63, 69%, 15%)
HSVhsv(63, 82%, 26%)
CMYKcmyk(4.5%, 0%, 81.8%, 74.1%)
CIE-LABlab(26.68, -9.10, 30.41)
CIE-LCHlch(26.68, 31.75, 106.66°)
OKLaboklab(36.48% -0.0281 0.0673)
OKLCHoklch(36.48% 0.073 112.7)
XYZxyz(4.0646, 4.9798, 1.0948)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F420C #0F0C42
analogous
#422A0C #3F420C #24420C
triadic
#3F420C #0C3F42 #420C3F
tetradic
#3F420C #0C422A #0F0C42 #420C24
square
#3F420C #0C422A #0F0C42 #420C24
split-complementary
#3F420C #0C2442 #2A0C42
monochromatic
#191A05 #191A05 #3F420C #707615 #A2AA1F

Accessibility & contrast

On white

10.52
#3F420C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3F420C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F420C
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F420C#FFFFFF#000000##FFFFFF
##3F420C1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483E03
Deuteranopia (green-blind)
#484010
Tritanopia (blue-blind)
#443D38
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f420c;
/* rgb */ color: rgb(63, 66, 12);
/* oklch */ color: oklch(36.5% 0.073 112.7);
Tailwind
colors: {
  custom: {
    50: '#76764f',
    500: '#3f420c',
    950: '#000000',
  },
}
SCSS
$custom: #3f420c;
$custom-light: #76764f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f420c",
  "rgb": {
    "r": 63,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 63.333,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.36478,
    "c": 0.0729,
    "h": 112.7
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#3F420C
secondary
#302C7E
accent
#3CEC46
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #3F420C

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

Preview Lab → · Contrast checker → · Palette generator →

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