#3F4810#3F4810

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

Color values

HEX#3F4810
RGBrgb(63, 72, 16)
HSLhsl(70, 64%, 17%)
HSVhsv(70, 78%, 28%)
CMYKcmyk(12.5%, 0%, 77.8%, 71.8%)
CIE-LABlab(28.72, -12.39, 30.69)
CIE-LCHlch(28.72, 33.09, 111.99°)
OKLaboklab(38.13% -0.0368 0.0686)
OKLCHoklch(38.13% 0.078 118.2)
XYZxyz(4.4609, 5.7289, 1.3609)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4810 #191048
analogous
#483510 #3F4810 #234810
triadic
#3F4810 #103F48 #48103F
tetradic
#3F4810 #104835 #191048 #481023
square
#3F4810 #104835 #191048 #481023
split-complementary
#3F4810 #102348 #351048
monochromatic
#161906 #161906 #3F4810 #6B7A1B #97AC26

Accessibility & contrast

On white

9.79
#3F4810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F4810
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4810#FFFFFF#000000##FFFFFF
##3F48101.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f4810;
/* rgb */ color: rgb(63, 72, 16);
/* oklch */ color: oklch(38.1% 0.078 118.2);
Tailwind
colors: {
  custom: {
    50: '#767a52',
    500: '#3f4810',
    950: '#000000',
  },
}
SCSS
$custom: #3f4810;
$custom-light: #767a52;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4810",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 16
  },
  "hsl": {
    "h": 69.643,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.38125,
    "c": 0.07789,
    "h": 118.2
  },
  "luminance": 0.05729
}

Semantic roles & 50–950 ramp

primary
#3F4810
secondary
#3F3282
accent
#41E75C
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #3F4810

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

Preview Lab → · Contrast checker → · Palette generator →

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