#3F6812#3F6812

#3F6812 is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 46.9% C 0.121 H 132.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#3F6812
RGBrgb(63, 104, 18)
HSLhsl(89, 70%, 24%)
HSVhsv(89, 83%, 41%)
CMYKcmyk(39.4%, 0%, 82.7%, 59.2%)
CIE-LABlab(39.58, -28.91, 40.38)
CIE-LCHlch(39.58, 49.66, 125.60°)
OKLaboklab(46.95% -0.0817 0.0894)
OKLCHoklch(46.95% 0.121 132.4)
XYZxyz(7.1093, 11.0007, 2.3209)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6812 #3B1268
analogous
#686612 #3F6812 #146812
triadic
#3F6812 #123F68 #68123F
tetradic
#3F6812 #126866 #3B1268 #681214
square
#3F6812 #126866 #3B1268 #681214
split-complementary
#3F6812 #121468 #661268
monochromatic
#101A05 #1F3409 #3F6812 #5F9C1B #7ED024

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F6812#FFFFFF#000000##FFFFFF
##3F68121.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)
#6D5F00
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#406358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f6812;
/* rgb */ color: rgb(63, 104, 18);
/* oklch */ color: oklch(46.9% 0.121 132.4);
Tailwind
colors: {
  custom: {
    50: '#789358',
    500: '#3f6812',
    950: '#000000',
  },
}
SCSS
$custom: #3f6812;
$custom-light: #789358;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6812",
  "rgb": {
    "r": 63,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 88.605,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46947,
    "c": 0.12108,
    "h": 132.4
  },
  "luminance": 0.11001
}

Semantic roles & 50–950 ramp

primary
#3F6812
secondary
#6836A0
accent
#3BED90
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3F6812

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

Preview Lab → · Contrast checker → · Palette generator →

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