#3F6612#3F6612

#3F6612 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.4% C 0.118 H 132.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#3F6612
RGBrgb(63, 102, 18)
HSLhsl(88, 70%, 24%)
HSVhsv(88, 82%, 40%)
CMYKcmyk(38.2%, 0%, 82.4%, 60%)
CIE-LABlab(38.90, -27.97, 39.74)
CIE-LCHlch(38.90, 48.60, 125.14°)
OKLaboklab(46.39% -0.0792 0.088)
OKLCHoklch(46.39% 0.118 132)
XYZxyz(6.9104, 10.6029, 2.2546)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6612 #391266
analogous
#666312 #3F6612 #156612
triadic
#3F6612 #123F66 #66123F
tetradic
#3F6612 #126663 #391266 #661215
square
#3F6612 #126663 #391266 #661215
split-complementary
#3F6612 #121566 #631266
monochromatic
#101A05 #1F3209 #3F6612 #5F9A1B #7FCE24

Accessibility & contrast

On white

6.73
#3F6612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3F6612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6612
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6612#FFFFFF#000000##FFFFFF
##3F66121.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#655B1B
Tritanopia (blue-blind)
#406156
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f6612;
/* rgb */ color: rgb(63, 102, 18);
/* oklch */ color: oklch(46.4% 0.118 132.0);
Tailwind
colors: {
  custom: {
    50: '#789258',
    500: '#3f6612',
    950: '#000000',
  },
}
SCSS
$custom: #3f6612;
$custom-light: #789258;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6612",
  "rgb": {
    "r": 63,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 87.857,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46392,
    "c": 0.11838,
    "h": 132
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

primary
#3F6612
secondary
#66369E
accent
#3BED8E
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3F6612

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

Preview Lab → · Contrast checker → · Palette generator →

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