#3F6816#3F6816

#3F6816 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.0% C 0.119 H 132.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#3F6816
RGBrgb(63, 104, 22)
HSLhsl(90, 65%, 25%)
HSVhsv(90, 79%, 41%)
CMYKcmyk(39.4%, 0%, 78.8%, 59.2%)
CIE-LABlab(39.61, -28.66, 38.96)
CIE-LCHlch(39.61, 48.37, 126.34°)
OKLaboklab(46.97% -0.0807 0.0871)
OKLCHoklch(46.97% 0.119 132.8)
XYZxyz(7.1449, 11.0150, 2.5085)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6816 #3F1668
analogous
#686816 #3F6816 #166816
triadic
#3F6816 #163F68 #68163F
tetradic
#3F6816 #166868 #3F1668 #681616
square
#3F6816 #166868 #3F1668 #681616
split-complementary
#3F6816 #161668 #681668
monochromatic
#0F1905 #20350B #3F6816 #5E9B21 #7CCD2B

Accessibility & contrast

On white

6.56
#3F6816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3F6816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6816
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6816#FFFFFF#000000##FFFFFF
##3F68161.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F05
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#3F6458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f6816;
/* rgb */ color: rgb(63, 104, 22);
/* oklch */ color: oklch(47.0% 0.119 132.8);
Tailwind
colors: {
  custom: {
    50: '#78935a',
    500: '#3f6816',
    950: '#000000',
  },
}
SCSS
$custom: #3f6816;
$custom-light: #78935a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6816",
  "rgb": {
    "r": 63,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 90,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46974,
    "c": 0.11873,
    "h": 132.8
  },
  "luminance": 0.11015
}

Semantic roles & 50–950 ramp

primary
#3F6816
secondary
#6D3B9F
accent
#40E894
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3F6816

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

Preview Lab → · Contrast checker → · Palette generator →

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