#3F6817#3F6817

#3F6817 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.0% C 0.118 H 133.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#3F6817
RGBrgb(63, 104, 23)
HSLhsl(90, 64%, 25%)
HSVhsv(90, 78%, 41%)
CMYKcmyk(39.4%, 0%, 77.9%, 59.2%)
CIE-LABlab(39.61, -28.59, 38.59)
CIE-LCHlch(39.61, 48.02, 126.54°)
OKLaboklab(46.98% -0.0805 0.0864)
OKLCHoklch(46.98% 0.118 133)
XYZxyz(7.1548, 11.0189, 2.5603)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6817 #401768
analogous
#686817 #3F6817 #176817
triadic
#3F6817 #173F68 #68173F
tetradic
#3F6817 #176868 #401768 #681717
square
#3F6817 #176868 #401768 #681717
split-complementary
#3F6817 #171768 #681768
monochromatic
#0F1906 #21360C #3F6817 #5D9A22 #7CCC2D

Accessibility & contrast

On white

6.55
#3F6817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3F6817
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6817#FFFFFF#000000##FFFFFF
##3F68171.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F07
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#3F6458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f6817;
/* rgb */ color: rgb(63, 104, 23);
/* oklch */ color: oklch(47.0% 0.118 133.0);
Tailwind
colors: {
  custom: {
    50: '#78935a',
    500: '#3f6817',
    950: '#000000',
  },
}
SCSS
$custom: #3f6817;
$custom-light: #78935a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6817",
  "rgb": {
    "r": 63,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 90.37,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46981,
    "c": 0.11809,
    "h": 133
  },
  "luminance": 0.11019
}

Semantic roles & 50–950 ramp

primary
#3F6817
secondary
#6E3D9E
accent
#41E795
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3F6817

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

Preview Lab → · Contrast checker → · Palette generator →

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