#3F4812#3F4812

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

Color values

HEX#3F4812
RGBrgb(63, 72, 18)
HSLhsl(70, 60%, 18%)
HSVhsv(70, 75%, 28%)
CMYKcmyk(12.5%, 0%, 75%, 71.8%)
CIE-LABlab(28.73, -12.25, 29.80)
CIE-LCHlch(28.73, 32.22, 112.36°)
OKLaboklab(38.14% -0.0362 0.0671)
OKLCHoklch(38.14% 0.076 118.3)
XYZxyz(4.4765, 5.7352, 1.4433)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4812 #1B1248
analogous
#483612 #3F4812 #244812
triadic
#3F4812 #123F48 #48123F
tetradic
#3F4812 #124836 #1B1248 #481224
square
#3F4812 #124836 #1B1248 #481224
split-complementary
#3F4812 #122448 #361248
monochromatic
#151806 #151806 #3F4812 #6A791E #95AA2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F4812#FFFFFF#000000##FFFFFF
##3F48121.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)
#4D440A
Deuteranopia (green-blind)
#4C4416
Tritanopia (blue-blind)
#43443D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f4812;
/* rgb */ color: rgb(63, 72, 18);
/* oklch */ color: oklch(38.1% 0.076 118.3);
Tailwind
colors: {
  custom: {
    50: '#767a53',
    500: '#3f4812',
    950: '#000000',
  },
}
SCSS
$custom: #3f4812;
$custom-light: #767a53;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4812",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 70,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.38144,
    "c": 0.07628,
    "h": 118.3
  },
  "luminance": 0.05735
}

Semantic roles & 50–950 ramp

primary
#3F4812
secondary
#413581
accent
#45E35F
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090903
muted
#7B7B78

Preview Lab

Preview with #3F4812

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

Preview Lab → · Contrast checker → · Palette generator →

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