#3F6517#3F6517

#3F6517 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.2% C 0.114 H 132.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#3F6517
RGBrgb(63, 101, 23)
HSLhsl(89, 63%, 24%)
HSVhsv(89, 77%, 40%)
CMYKcmyk(37.6%, 0%, 77.2%, 60.4%)
CIE-LABlab(38.60, -27.17, 37.58)
CIE-LCHlch(38.60, 46.37, 125.87°)
OKLaboklab(46.15% -0.0766 0.0843)
OKLCHoklch(46.15% 0.114 132.3)
XYZxyz(6.8581, 10.4257, 2.4615)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6517 #3D1765
analogous
#656417 #3F6517 #186517
triadic
#3F6517 #173F65 #65173F
tetradic
#3F6517 #176564 #3D1765 #651718
square
#3F6517 #176564 #3D1765 #651718
split-complementary
#3F6517 #171865 #641765
monochromatic
#101906 #20330C #3F6517 #5E9722 #7DC92E

Accessibility & contrast

On white

6.81
#3F6517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3F6517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6517
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6517#FFFFFF#000000##FFFFFF
##3F65171.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D08
Deuteranopia (green-blind)
#645A1E
Tritanopia (blue-blind)
#406156
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3f6517;
/* rgb */ color: rgb(63, 101, 23);
/* oklch */ color: oklch(46.2% 0.114 132.3);
Tailwind
colors: {
  custom: {
    50: '#78915a',
    500: '#3f6517',
    950: '#000000',
  },
}
SCSS
$custom: #3f6517;
$custom-light: #78915a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6517",
  "rgb": {
    "r": 63,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 89.231,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46151,
    "c": 0.11393,
    "h": 132.3
  },
  "luminance": 0.10426
}

Semantic roles & 50–950 ramp

primary
#3F6517
secondary
#6B3C9B
accent
#42E692
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3F6517

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

Preview Lab → · Contrast checker → · Palette generator →

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