#3F6712#3F6712

#3F6712 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 46.7% C 0.120 H 132.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#3F6712
RGBrgb(63, 103, 18)
HSLhsl(88, 70%, 24%)
HSVhsv(88, 83%, 40%)
CMYKcmyk(38.8%, 0%, 82.5%, 59.6%)
CIE-LABlab(39.24, -28.44, 40.06)
CIE-LCHlch(39.24, 49.13, 125.37°)
OKLaboklab(46.67% -0.0804 0.0887)
OKLCHoklch(46.67% 0.12 132.2)
XYZxyz(7.0092, 10.8006, 2.2876)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6712 #3A1267
analogous
#676412 #3F6712 #146712
triadic
#3F6712 #123F67 #67123F
tetradic
#3F6712 #126764 #3A1267 #671214
square
#3F6712 #126764 #3A1267 #671214
split-complementary
#3F6712 #121467 #641267
monochromatic
#101A05 #1F3309 #3F6712 #5F9B1B #7FCF24

Accessibility & contrast

On white

6.65
#3F6712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3F6712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6712
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6712#FFFFFF#000000##FFFFFF
##3F67121.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#406257
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f6712;
/* rgb */ color: rgb(63, 103, 18);
/* oklch */ color: oklch(46.7% 0.120 132.2);
Tailwind
colors: {
  custom: {
    50: '#789258',
    500: '#3f6712',
    950: '#000000',
  },
}
SCSS
$custom: #3f6712;
$custom-light: #789258;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6712",
  "rgb": {
    "r": 63,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 88.235,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4667,
    "c": 0.11973,
    "h": 132.2
  },
  "luminance": 0.10801
}

Semantic roles & 50–950 ramp

primary
#3F6712
secondary
#67369F
accent
#3BED8F
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3F6712

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

Preview Lab → · Contrast checker → · Palette generator →

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