#3F6717#3F6717

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

Color values

HEX#3F6717
RGBrgb(63, 103, 23)
HSLhsl(90, 63%, 25%)
HSVhsv(90, 78%, 40%)
CMYKcmyk(38.8%, 0%, 77.7%, 59.6%)
CIE-LABlab(39.27, -28.12, 38.25)
CIE-LCHlch(39.27, 47.48, 126.32°)
OKLaboklab(46.71% -0.0792 0.0857)
OKLCHoklch(46.71% 0.117 132.7)
XYZxyz(7.0547, 10.8188, 2.5270)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6717 #3F1767
analogous
#676717 #3F6717 #176717
triadic
#3F6717 #173F67 #67173F
tetradic
#3F6717 #176767 #3F1767 #671717
square
#3F6717 #176767 #3F1767 #671717
split-complementary
#3F6717 #171767 #671767
monochromatic
#0F1906 #20350C #3F6717 #5E9922 #7CCB2D

Accessibility & contrast

On white

6.64
#3F6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3F6717
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6717#FFFFFF#000000##FFFFFF
##3F67171.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F08
Deuteranopia (green-blind)
#665B1F
Tritanopia (blue-blind)
#3F6358
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f6717;
/* rgb */ color: rgb(63, 103, 23);
/* oklch */ color: oklch(46.7% 0.117 132.7);
Tailwind
colors: {
  custom: {
    50: '#78925a',
    500: '#3f6717',
    950: '#000000',
  },
}
SCSS
$custom: #3f6717;
$custom-light: #78925a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6717",
  "rgb": {
    "r": 63,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 90,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46705,
    "c": 0.11671,
    "h": 132.7
  },
  "luminance": 0.10819
}

Semantic roles & 50–950 ramp

primary
#3F6717
secondary
#6D3D9D
accent
#41E794
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3F6717

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

Preview Lab → · Contrast checker → · Palette generator →

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