#3F6D17#3F6D17

#3F6D17 is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.4% C 0.125 H 134.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#3F6D17
RGBrgb(63, 109, 23)
HSLhsl(92, 65%, 26%)
HSVhsv(92, 79%, 43%)
CMYKcmyk(42.2%, 0%, 78.9%, 57.3%)
CIE-LABlab(41.30, -30.90, 40.24)
CIE-LCHlch(41.30, 50.74, 127.52°)
OKLaboklab(48.37% -0.0867 0.0899)
OKLCHoklch(48.37% 0.125 134)
XYZxyz(7.6731, 12.0555, 2.7331)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6D17 #45176D
analogous
#6A6D17 #3F6D17 #176D1A
triadic
#3F6D17 #173F6D #6D173F
tetradic
#3F6D17 #176A6D #45176D #6D1A17
square
#3F6D17 #176A6D #45176D #6D1A17
split-complementary
#3F6D17 #1A176D #6D176A
monochromatic
#0F1905 #223A0C #3F6D17 #5CA022 #79D22C

Accessibility & contrast

On white

6.16
#3F6D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#3F6D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6D17
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6D17#FFFFFF#000000##FFFFFF
##3F6D171.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726405
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#3F685D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f6d17;
/* rgb */ color: rgb(63, 109, 23);
/* oklch */ color: oklch(48.4% 0.125 134.0);
Tailwind
colors: {
  custom: {
    50: '#79975b',
    500: '#3f6d17',
    950: '#000000',
  },
}
SCSS
$custom: #3f6d17;
$custom-light: #79975b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6d17",
  "rgb": {
    "r": 63,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 92.093,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48365,
    "c": 0.12491,
    "h": 134
  },
  "luminance": 0.12056
}

Semantic roles & 50–950 ramp

primary
#3F6D17
secondary
#733DA3
accent
#40E89A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3F6D17

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

Preview Lab → · Contrast checker → · Palette generator →

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