#3F4912#3F4912

#3F4912 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.4% C 0.078 H 119.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#3F4912
RGBrgb(63, 73, 18)
HSLhsl(71, 60%, 18%)
HSVhsv(71, 75%, 29%)
CMYKcmyk(13.7%, 0%, 75.3%, 71.4%)
CIE-LABlab(29.07, -12.83, 30.14)
CIE-LCHlch(29.07, 32.76, 113.06°)
OKLaboklab(38.41% -0.0378 0.0679)
OKLCHoklch(38.41% 0.078 119.1)
XYZxyz(4.5417, 5.8656, 1.4651)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4912 #1C1249
analogous
#493712 #3F4912 #234912
triadic
#3F4912 #123F49 #49123F
tetradic
#3F4912 #124937 #1C1249 #491223
square
#3F4912 #124937 #1C1249 #491223
split-complementary
#3F4912 #122349 #371249
monochromatic
#151906 #151906 #3F4912 #697A1E #94AB2A

Accessibility & contrast

On white

9.66
#3F4912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3F4912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4912
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4912#FFFFFF#000000##FFFFFF
##3F49121.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450A
Deuteranopia (green-blind)
#4D4516
Tritanopia (blue-blind)
#43453E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f4912;
/* rgb */ color: rgb(63, 73, 18);
/* oklch */ color: oklch(38.4% 0.078 119.1);
Tailwind
colors: {
  custom: {
    50: '#767b54',
    500: '#3f4912',
    950: '#000000',
  },
}
SCSS
$custom: #3f4912;
$custom-light: #767b54;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4912",
  "rgb": {
    "r": 63,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 70.909,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38414,
    "c": 0.07768,
    "h": 119.1
  },
  "luminance": 0.05866
}

Semantic roles & 50–950 ramp

primary
#3F4912
secondary
#433582
accent
#44E461
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090903
muted
#7B7B78

Preview Lab

Preview with #3F4912

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

Preview Lab → · Contrast checker → · Palette generator →

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